Confirmed a TODO.
This commit is contained in:
parent
454b3ecb03
commit
a8fd88a5f9
|
@ -185,7 +185,6 @@ uiWindow *uiNewWindow(const char *title, int width, int height, int hasMenubar)
|
||||||
|
|
||||||
// explicitly release when closed
|
// explicitly release when closed
|
||||||
// the only thing that closes the window is us anyway
|
// the only thing that closes the window is us anyway
|
||||||
// (TODO confirm this when terminating from the Dock or shutting down)
|
|
||||||
[w->window setReleasedWhenClosed:YES];
|
[w->window setReleasedWhenClosed:YES];
|
||||||
|
|
||||||
w->delegate = [windowDelegate new];
|
w->delegate = [windowDelegate new];
|
||||||
|
|
Loading…
Reference in New Issue