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;