mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 16:20:46 +00:00
* 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:
parent
81cf28902a
commit
7ae46b1f5c
2 changed files with 11 additions and 1 deletions
|
@ -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:,
|
||||
|
|
|
@ -218,7 +218,11 @@ static NSNotificationCenter *nc = nil;
|
|||
|
||||
- (void) stopTimer
|
||||
{
|
||||
[_timer invalidate];
|
||||
if(_timer != nil)
|
||||
{
|
||||
[_timer invalidate];
|
||||
DESTROY(_timer);
|
||||
}
|
||||
}
|
||||
|
||||
- (void) orderFrontRegardless
|
||||
|
|
Loading…
Reference in a new issue