Commit 1165c559 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner

[trac678] Make sure io_service stops when asked to

.stop() followed directly by .reset() doesn't work. It seems asio has a
"can run" boolean variable, stop sets it to false, reset to true, so if
they are both called from inside the .run() main loop, it does nothing.
parent daf3c3de
......@@ -367,7 +367,6 @@ class DNSServerTest : public::testing::Test {
static void stopIOService(int _no_use_parameter) {
io_service_is_time_out = true;
bool serverStopSucceed() const {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment