mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 19:27:40 +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
|
@ -1,3 +1,8 @@
|
|||
2010-04-05 Doug Simons <doug.simons@testplant.com>
|
||||
|
||||
* Source/NSWindow.m: Fix crash caused by close being called
|
||||
recursively.
|
||||
|
||||
2010-04-05 Doug Simons <doug.simons@testplant.com>
|
||||
|
||||
* Source/NSDrawer.m: Fix problem with drawer window being shown
|
||||
|
|
|
@ -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