From: Carl Hetherington Date: Sun, 6 Dec 2015 22:20:37 +0000 (+0000) Subject: Fix deadlock in previous. X-Git-Tag: v2.6.6~4 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=18f65c026edc1ad49cf433f8b07db3a7c9838e9f;p=dcpomatic.git Fix deadlock in previous. --- diff --git a/src/lib/encode_server.cc b/src/lib/encode_server.cc index 6560bcfec..934c53423 100644 --- a/src/lib/encode_server.cc +++ b/src/lib/encode_server.cc @@ -78,6 +78,7 @@ EncodeServer::~EncodeServer () { { boost::mutex::scoped_lock lm (_mutex); + _terminate = true; _empty_condition.notify_all (); _full_condition.notify_all (); }