* 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:
gcasa 2009-08-12 22:28:25 +00:00
parent 1e8c060227
commit 9b9a645742
2 changed files with 11 additions and 1 deletions

View file

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