mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Correction for recently discovered segfault.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19614 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b42d75db38
commit
b359ed9d5a
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
2004-06-24 01:33 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Gorm.m: [Gorm close:] the window is already released when
|
||||
the document is released and the code had an
|
||||
"setReleasedWhenClosed" which was call which was causing
|
||||
an extra release and subsequently a core dump when selecting
|
||||
the "Close" item from the document menu.
|
||||
|
||||
2004-06-24 01:33 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormDocument.m: Additions to [GormDocument attachObject:
|
||||
|
|
1
Gorm.m
1
Gorm.m
|
@ -642,7 +642,6 @@ NSString *GormResizeCellNotification = @"GormResizeCellNotification";
|
|||
GormDocument *document = (GormDocument *)[self activeDocument];
|
||||
NSWindow *window = [document window];
|
||||
|
||||
[window setReleasedWhenClosed: YES];
|
||||
[window performClose: self];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue