mirror of
https://github.com/glfw/glfw.git
synced 2025-04-14 17:13:42 +00:00
Release autorelease pool last
This commit is contained in:
parent
da44625970
commit
5fa7e2faa4
1 changed files with 3 additions and 3 deletions
|
@ -265,9 +265,6 @@ void _glfwPlatformTerminate(void)
|
|||
_glfw.ns.delegate = nil;
|
||||
}
|
||||
|
||||
[_glfw.ns.autoreleasePool release];
|
||||
_glfw.ns.autoreleasePool = nil;
|
||||
|
||||
[_glfw.ns.cursor release];
|
||||
_glfw.ns.cursor = nil;
|
||||
|
||||
|
@ -276,6 +273,9 @@ void _glfwPlatformTerminate(void)
|
|||
_glfwTerminateNSGL();
|
||||
_glfwTerminateJoysticksNS();
|
||||
_glfwTerminateThreadLocalStoragePOSIX();
|
||||
|
||||
[_glfw.ns.autoreleasePool release];
|
||||
_glfw.ns.autoreleasePool = nil;
|
||||
}
|
||||
|
||||
const char* _glfwPlatformGetVersionString(void)
|
||||
|
|
Loading…
Add table
Reference in a new issue