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;