* Source/NSDrawer.m: Changed - (void) stopTimer. Fixed to

prevent a crash when the drawer is opened/closed and then the
	window is then closed causing a double release.  


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28457 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2009-08-12 22:28:25 +00:00
parent 81cf28902a
commit 7ae46b1f5c
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2009-08-12 18:26-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSDrawer.m: Changed - (void) stopTimer. Fixed to
prevent a crash when the drawer is opened/closed and then the
window is then closed causing a double release.
2009-08-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextStorage.m (-classForCoder, -initWithCoder:,

View file

@ -218,7 +218,11 @@ static NSNotificationCenter *nc = nil;
- (void) stopTimer
{
[_timer invalidate];
if(_timer != nil)
{
[_timer invalidate];
DESTROY(_timer);
}
}
- (void) orderFrontRegardless