mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 21:50: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
1e8c060227
commit
9b9a645742
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>
|
2009-08-12 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSTextStorage.m (-classForCoder, -initWithCoder:,
|
* Source/NSTextStorage.m (-classForCoder, -initWithCoder:,
|
||||||
|
|
|
@ -218,7 +218,11 @@ static NSNotificationCenter *nc = nil;
|
||||||
|
|
||||||
- (void) stopTimer
|
- (void) stopTimer
|
||||||
{
|
{
|
||||||
[_timer invalidate];
|
if(_timer != nil)
|
||||||
|
{
|
||||||
|
[_timer invalidate];
|
||||||
|
DESTROY(_timer);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) orderFrontRegardless
|
- (void) orderFrontRegardless
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue