diff --git a/src/framework/net/connection.cpp b/src/framework/net/connection.cpp index 1c53d235..d12f7b31 100644 --- a/src/framework/net/connection.cpp +++ b/src/framework/net/connection.cpp @@ -50,8 +50,9 @@ Connection::~Connection() void Connection::poll() { - g_ioService.poll(); + // reset must always be called prior to poll g_ioService.reset(); + g_ioService.poll(); } void Connection::terminate()