summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/server.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/server.cc b/src/lib/server.cc
index f9f914178..c1db1e6ac 100644
--- a/src/lib/server.cc
+++ b/src/lib/server.cc
@@ -78,6 +78,7 @@ Server::~Server ()
boost::mutex::scoped_lock lm (_worker_mutex);
_terminate = true;
_empty_condition.notify_all ();
+ _full_condition.notify_all ();
}
for (vector<boost::thread*>::iterator i = _worker_threads.begin(); i != _worker_threads.end(); ++i) {