From 9d30d4042c3311d02568adbb38dd13fb82faf75d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Mon, 23 Mar 2015 12:18:40 +0100 Subject: [PATCH] delete the workers in the correct thread fixes #1066 --- src/mbgl/map/map.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp index 1473346a3..bc53d0d0f 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;