Merge pull request #757 from mapbox/move-terminate
Move terminate() call to GLFWView to avoid problems with node
This commit is contained in:
@@ -286,6 +286,9 @@ int GLFWView::run() {
|
||||
glfwWaitEvents();
|
||||
});
|
||||
|
||||
// Terminate here to save binary shaders
|
||||
map->terminate();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -250,8 +250,6 @@ void Map::run() {
|
||||
mode = Mode::None;
|
||||
fileSource.clearLoop();
|
||||
}
|
||||
|
||||
terminate();
|
||||
}
|
||||
|
||||
void Map::rerender() {
|
||||
|
||||
Reference in New Issue
Block a user