diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-03-23 12:18:40 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-03-23 12:18:40 +0100 |
commit | 9d30d4042c3311d02568adbb38dd13fb82faf75d (patch) | |
tree | fee77b47ffd47f89f8105c364fe0c53c939fdf38 /src | |
parent | 84f0f6d526089d17106ca0acbd78d222eb66e725 (diff) | |
download | qtlocation-mapboxgl-9d30d4042c3311d02568adbb38dd13fb82faf75d.tar.gz |
delete the workers in the correct thread
fixes #1066
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/map/map.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp index 1473346a33..bc53d0d0fa 100644 --- a/src/mbgl/map/map.cpp +++ b/src/mbgl/map/map.cpp @@ -129,6 +129,7 @@ void Map::start(bool startPaused) { // Remove all of these to make sure they are destructed in the correct thread. style.reset(); + workers.reset(); activeSources.clear(); terminating = true; |