1
0
Fork 0
mirror of https://github.com/gwm17/DaqGrimoire.git synced 2024-11-26 20:28:51 -05:00

Fixing some bugs in DYClient

This commit is contained in:
Gordon McCann 2022-10-01 09:15:51 -04:00
parent 7ab9d41007
commit 083abe66be

View File

@ -52,7 +52,7 @@ namespace DaqGrimoire {
} }
catch (asio::system_error& e) catch (asio::system_error& e)
{ {
continue; return;
} }
} }
@ -60,7 +60,7 @@ namespace DaqGrimoire {
{ {
if (IsConnected()) if (IsConnected())
{ {
asio::post(m_context, [this]() { m_socket.close(); }) asio::post(m_context, [this]() { m_socket.close(); });
} }
m_context.stop(); m_context.stop();