summaryrefslogtreecommitdiffstats
path: root/common/resultprovider.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/resultprovider.h')
-rw-r--r--common/resultprovider.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/resultprovider.h b/common/resultprovider.h
index 2c373c3..7f090e9 100644
--- a/common/resultprovider.h
+++ b/common/resultprovider.h
@@ -97,9 +97,7 @@ private:
97 //That way the result emitter implementation doesn't have to care about threadsafety at all. 97 //That way the result emitter implementation doesn't have to care about threadsafety at all.
98 //The alternative would be to make all handlers of the emitter threadsafe. 98 //The alternative would be to make all handlers of the emitter threadsafe.
99 if (auto emitter = mResultEmitter.toStrongRef()) { 99 if (auto emitter = mResultEmitter.toStrongRef()) {
100 emitter->mThreadBoundary.callInMainThread([f]() { 100 emitter->mThreadBoundary.callInMainThread(f);
101 f();
102 });
103 } 101 }
104 } 102 }
105 103