From 0e5dec5ce90118e93f25aa281c6286453244460d Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 16 Sep 2010 03:18:19 +0200 Subject: [PATCH] Removed misplaced application delegate clearing. --- src/cocoa/cocoa_window.m | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cocoa/cocoa_window.m b/src/cocoa/cocoa_window.m index ecd6842e..9cda5f11 100644 --- a/src/cocoa/cocoa_window.m +++ b/src/cocoa/cocoa_window.m @@ -678,7 +678,6 @@ void _glfwPlatformCloseWindow(_GLFWwindow* window) window->NSGL.context = nil; [window->NS.window setDelegate:nil]; - [NSApp setDelegate:nil]; [window->NS.delegate release]; window->NS.delegate = nil;