mirror of
https://github.com/gwm17/DaqGrimoire.git
synced 2024-11-22 18:58:51 -05:00
Fixing some bugs in DYClient
This commit is contained in:
parent
7ab9d41007
commit
083abe66be
|
@ -52,7 +52,7 @@ namespace DaqGrimoire {
|
|||
}
|
||||
catch (asio::system_error& e)
|
||||
{
|
||||
continue;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -60,7 +60,7 @@ namespace DaqGrimoire {
|
|||
{
|
||||
if (IsConnected())
|
||||
{
|
||||
asio::post(m_context, [this]() { m_socket.close(); })
|
||||
asio::post(m_context, [this]() { m_socket.close(); });
|
||||
}
|
||||
|
||||
m_context.stop();
|
||||
|
|
Loading…
Reference in New Issue
Block a user