mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 18:24:09 +03:00
Autorelease the AtomController when window closes. This will release window.
This commit is contained in:
parent
3a397a4ed4
commit
3f3247d443
@ -72,8 +72,7 @@
|
||||
// Clean ourselves up after clearing the stack of anything that might have the window on it.
|
||||
- (BOOL)windowShouldClose:(id)window {
|
||||
_clientHandler = NULL;
|
||||
[window autorelease];
|
||||
|
||||
[self autorelease];
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user