diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/event/Call.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/event/Call.cxx b/src/event/Call.cxx index e8343f606..c9f619472 100644 --- a/src/event/Call.cxx +++ b/src/event/Call.cxx @@ -53,6 +53,11 @@ public: private: virtual void RunDeferred() override { f(); + + mutex.lock(); + done = true; + cond.signal(); + mutex.unlock(); } }; |