mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 23:30:37 +00:00
Fix crash caused by close being called recursively
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30087 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b502d7bd31
commit
6e85413971
2 changed files with 6 additions and 1 deletions
|
@ -2664,6 +2664,7 @@ resetCursorRectsForView(NSView *theView)
|
|||
{
|
||||
if (_f.has_closed == NO)
|
||||
{
|
||||
_f.has_closed = YES;
|
||||
CREATE_AUTORELEASE_POOL(pool);
|
||||
|
||||
/* The NSWindowCloseNotification might result in us being
|
||||
|
@ -2689,7 +2690,6 @@ resetCursorRectsForView(NSView *theView)
|
|||
}
|
||||
|
||||
RELEASE(pool);
|
||||
_f.has_closed = YES;
|
||||
RELEASE(self);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue