Commit 6d101101 authored by Marcin Siodelski's avatar Marcin Siodelski

[#153,!94] Deal with segfault caused by race in polling and closing listener.

parent f71382b7
......@@ -644,8 +644,8 @@ public:
while (!isStopping()) {
io_service_.run_one();
}
signalStopped();
io_service_.poll();
signalStopped();
}));
waitReady();
......
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