event/Call: signal the calling thread
Fixes regression from commit 018f4155
.
This commit is contained in:
parent
cc511e7b60
commit
94cdc47786
@ -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();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user