From: Marcin Siodelski Date: Tue, 23 Oct 2018 13:32:30 +0000 (+0200) Subject: [#153,!94] Deal with segfault caused by race in polling and closing listener. X-Git-Tag: 65-libyang-clean-keatext_base~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d101101d5544eb9bf4d650b69e8138aed429af9;p=thirdparty%2Fkea.git [#153,!94] Deal with segfault caused by race in polling and closing listener. --- diff --git a/src/bin/netconf/tests/control_socket_unittests.cc b/src/bin/netconf/tests/control_socket_unittests.cc index d6b56c465c..0ac9016e17 100644 --- a/src/bin/netconf/tests/control_socket_unittests.cc +++ b/src/bin/netconf/tests/control_socket_unittests.cc @@ -644,8 +644,8 @@ public: while (!isStopping()) { io_service_.run_one(); } - signalStopped(); io_service_.poll(); + signalStopped(); })); waitReady();