mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 21:10:38 +00:00
Fix an issue where a window's delegate could be called during
deallocation. This also avoids unnecessary screen flicker when the window is closed. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28960 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cb299e33c8
commit
9326ec2792
2 changed files with 5 additions and 1 deletions
|
@ -731,7 +731,7 @@ many times.
|
|||
|
||||
- (void) dealloc
|
||||
{
|
||||
[self setToolbar: nil];
|
||||
RELEASE(_toolbar);
|
||||
[nc removeObserver: self];
|
||||
[isa _removeAutodisplayedWindow: self];
|
||||
[NSApp removeWindowsItem: self];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue