summaryrefslogtreecommitdiff
path: root/platform/darwin
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2019-06-18 15:46:18 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2019-06-25 20:10:21 +0300
commit3f83c8a9dec07c03b210ef70140d0dd902c98b8b (patch)
treec2391b944236b6640cde8fff791c00eb9658aacb /platform/darwin
parent1a70150d8165af267fb12dc9cbc7c308ddcf289b (diff)
downloadqtlocation-mapboxgl-3f83c8a9dec07c03b210ef70140d0dd902c98b8b.tar.gz
[darwin] Ensure the runloop is awake in RunLoop::runOnce()
Diffstat (limited to 'platform/darwin')
-rw-r--r--platform/darwin/src/run_loop.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/darwin/src/run_loop.cpp b/platform/darwin/src/run_loop.cpp
index 0778b004e5..76f469b22f 100644
--- a/platform/darwin/src/run_loop.cpp
+++ b/platform/darwin/src/run_loop.cpp
@@ -38,6 +38,7 @@ void RunLoop::run() {
}
void RunLoop::runOnce() {
+ wake();
CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, false);
}