summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorLeith Bade <leith@mapbox.com>2015-01-16 09:50:05 +1100
committerLeith Bade <leith@mapbox.com>2015-01-16 09:50:05 +1100
commit5e44256fe87d78abe282190fb8a41745f8115c5b (patch)
tree42c7269d96c11ce3af8b51401cd85b8843b3139f /platform
parentc6ca57045fb373d4fd76d1ec228bd35a518d06e8 (diff)
downloadqtlocation-mapboxgl-5e44256fe87d78abe282190fb8a41745f8115c5b.tar.gz
Move terminate() call to GLFWView to avoid problems with node
Diffstat (limited to 'platform')
-rw-r--r--platform/default/glfw_view.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/default/glfw_view.cpp b/platform/default/glfw_view.cpp
index 6446a54abb..3d0d38c0b1 100644
--- a/platform/default/glfw_view.cpp
+++ b/platform/default/glfw_view.cpp
@@ -282,6 +282,9 @@ int GLFWView::run() {
glfwWaitEvents();
});
+ // Terminate here to save binary shaders
+ map->terminate();
+
return 0;
}