From 4ba6006396aff3ce007b15c6ebcc43b194cd8a8d Mon Sep 17 00:00:00 2001 From: Ronag Date: Wed, 24 Aug 2011 21:19:52 +0000 Subject: [PATCH] git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches/2.0.0.2@1279 362d55ac-95cf-4e76-9f9a-cbaa9c17b72d --- common/concurrency/executor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/concurrency/executor.h b/common/concurrency/executor.h index 0687889a1..ad86d4a37 100644 --- a/common/concurrency/executor.h +++ b/common/concurrency/executor.h @@ -117,7 +117,6 @@ public: virtual ~executor() // noexcept { stop(); - execution_queue_[normal_priority].try_push([]{}); // Wake the execution thread. join(); } @@ -144,6 +143,7 @@ public: void stop() // noexcept { is_running_ = false; + execution_queue_[normal_priority].try_push([]{}); // Wake the execution thread. } void wait() // noexcept -- 2.39.2