Cocoa: Fix window creation blocking after re-init

Fixes #1439.
master
Camilla Löwy ago%!(EXTRA string=6 years)
parent 7c3aaf8065
commit 2fbb560eb7
  1. 3
      src/cocoa_init.m

@ -486,6 +486,9 @@ int _glfwPlatformInit(void)
toTarget:_glfw.ns.helper
withObject:nil];
if (NSApp)
_glfw.ns.finishedLaunching = GLFW_TRUE;
[NSApplication sharedApplication];
_glfw.ns.delegate = [[GLFWApplicationDelegate alloc] init];

Loading…
Cancel
Save