Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[default] Fix possible crash at RunLoop::wake()
Browse files Browse the repository at this point in the history
  • Loading branch information
pozdnyakov committed Mar 2, 2020
1 parent 64a3f1e commit 3be0207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/default/src/mbgl/util/run_loop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ LOOP_HANDLE RunLoop::getLoopHandle() {
}

void RunLoop::wake() {
impl->async->send();
if (impl->async) impl->async->send();
}

void RunLoop::run() {
Expand Down

0 comments on commit 3be0207

Please sign in to comment.