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

Commit 6afed43

Browse files
pozdnyakovalexshalamov
authored andcommitted
[default] Fix possible crash at RunLoop::wake()
1 parent ca8435c commit 6afed43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/default/src/mbgl/util/run_loop.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ LOOP_HANDLE RunLoop::getLoopHandle() {
130130
}
131131

132132
void RunLoop::wake() {
133-
impl->async->send();
133+
if (impl->async) impl->async->send();
134134
}
135135

136136
void RunLoop::run() {

0 commit comments

Comments
 (0)