Merge pull request #757 from mapbox/move-terminate

Move terminate() call to GLFWView to avoid problems with node
This commit is contained in:
Leith Bade
2015-01-16 10:16:30 +11:00
2 changed files with 3 additions and 2 deletions

View File

@@ -286,6 +286,9 @@ int GLFWView::run() {
glfwWaitEvents();
});
// Terminate here to save binary shaders
map->terminate();
return 0;
}

View File

@@ -250,8 +250,6 @@ void Map::run() {
mode = Mode::None;
fileSource.clearLoop();
}
terminate();
}
void Map::rerender() {