summaryrefslogtreecommitdiffstats
path: root/src/msg/async/AsyncMessenger.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/msg/async/AsyncMessenger.cc')
-rw-r--r--src/msg/async/AsyncMessenger.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msg/async/AsyncMessenger.cc b/src/msg/async/AsyncMessenger.cc
index 3971e91ffd0..d002d60897c 100644
--- a/src/msg/async/AsyncMessenger.cc
+++ b/src/msg/async/AsyncMessenger.cc
@@ -582,7 +582,7 @@ void AsyncMessenger::wait()
if (!started) {
return;
}
- if (!stopped)
+ while (!stopped)
stop_cond.wait(locker);
}
dispatch_queue.shutdown();