From de46308eee17621e15e0cffbacc5a186e4ab3f95 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 16 Sep 2015 11:27:59 +0100 Subject: Possible fix to problems when the Server is destroyed. --- src/lib/server.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/server.cc') 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::iterator i = _worker_threads.begin(); i != _worker_threads.end(); ++i) { -- cgit v1.2.3