macOS: Fix crash when closing full-screen window (issue #2491)
This commit is contained in:
parent
b3f2995808
commit
74b4a5fe27
|
@ -99,6 +99,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)cleanup:(id)window {
|
- (void)cleanup:(id)window {
|
||||||
|
[window_ setDelegate:nil];
|
||||||
[self release];
|
[self release];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue