Commit 94cdc477 authored by Max Kellermann's avatar Max Kellermann

event/Call: signal the calling thread

Fixes regression from commit 018f4155.
parent cc511e7b
...@@ -53,6 +53,11 @@ public: ...@@ -53,6 +53,11 @@ public:
private: private:
virtual void RunDeferred() override { virtual void RunDeferred() override {
f(); f();
mutex.lock();
done = true;
cond.signal();
mutex.unlock();
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment