Removed misplaced application delegate clearing.

This commit is contained in:
Camilla Berglund 2010-09-16 03:18:19 +02:00
parent aa169a4f72
commit 0e5dec5ce9

View File

@ -678,7 +678,6 @@ void _glfwPlatformCloseWindow(_GLFWwindow* window)
window->NSGL.context = nil; window->NSGL.context = nil;
[window->NS.window setDelegate:nil]; [window->NS.window setDelegate:nil];
[NSApp setDelegate:nil];
[window->NS.delegate release]; [window->NS.delegate release];
window->NS.delegate = nil; window->NS.delegate = nil;