forked from mirrors/kolyah35-minecraft-pe-0.6.1
FIX: glfw crash when closing the game
This commit is contained in:
parent
45f04ca07b
commit
4034cf243d
1 changed files with 4 additions and 4 deletions
|
|
@ -205,16 +205,16 @@ int main(void) {
|
|||
|
||||
delete app;
|
||||
|
||||
appContext.platform->finish();
|
||||
|
||||
delete appContext.platform;
|
||||
|
||||
#ifndef STANDALONE_SERVER
|
||||
// Exit.
|
||||
glfwDestroyWindow(platform->window);
|
||||
glfwTerminate();
|
||||
#endif
|
||||
|
||||
appContext.platform->finish();
|
||||
|
||||
delete appContext.platform;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue