2 Commits

View File

@@ -205,16 +205,16 @@ int main(void) {
delete app; delete app;
appContext.platform->finish();
delete appContext.platform;
#ifndef STANDALONE_SERVER #ifndef STANDALONE_SERVER
// Exit. // Exit.
glfwDestroyWindow(platform->window); glfwDestroyWindow(platform->window);
glfwTerminate(); glfwTerminate();
#endif #endif
appContext.platform->finish();
delete appContext.platform;
return 0; return 0;
} }