Move terminate() call to GLFWView to avoid problems with node

This commit is contained in:
Leith Bade
2015-01-16 09:50:05 +11:00
parent c6ca57045f
commit 5e44256fe8
2 changed files with 3 additions and 2 deletions

View File

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