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

[default] Fix possible crash at RunLoop::wake() #16255

Merged
merged 2 commits into from
Mar 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

Fixes possible crashes when using styles with line patterns.

- [default] Fix possible crash at RunLoop::wake() ([#16255](https://github.com/mapbox/mapbox-gl-native/pull/16255))

## maps-v1.3.0 (2020.02-relvanillashake)

### 🐞 Bug fixes
Expand Down
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