mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-22 07:53:30 +00:00
FIX: glfw crash when closing the game
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user