git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6048 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 2000-02-21 16:25:29 +00:00
parent 35cecfa35d
commit 31a05a9e19

View file

@ -1318,6 +1318,7 @@ resetCursorRectsForView(NSView *theView)
- (void) close
{
NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
CREATE_AUTORELEASE_POOL(pool);
[nc postNotificationName: NSWindowWillCloseNotification object: self];
_f.has_opened = NO;
@ -1327,7 +1328,7 @@ resetCursorRectsForView(NSView *theView)
argument: nil];
[NSApp removeWindowsItem: self];
[self orderOut: self];
RELEASE(pool);
if (_f.is_released_when_closed)
RELEASE(self);
}