mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 03:51:22 +00:00
Corrected intermittent segfault when deleting gui elements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@18237 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
06a8edb796
commit
4741ddaac3
3 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
|||
2003-11-29 00:28 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormDocument.m: -detachObject: extra RELEASE was causing
|
||||
a double release when the editor for an object was deallocating
|
||||
itself. This was (intermittently) causing a segfault when
|
||||
deleting an element from the gui.
|
||||
|
||||
2003-11-28 18:26 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormClassManager.[hm]: Slight modification allCustomSubclassesOf:
|
||||
|
|
4
Gorm.m
4
Gorm.m
|
@ -519,9 +519,9 @@ NSString *GormWillDetachObjectFromDocumentNotification = @"GormWillDetachObjectF
|
|||
forKey: @"ApplicationName"];
|
||||
[dict setObject: @"[GNUstep | Graphical] Object Relationship Modeller"
|
||||
forKey: @"ApplicationDescription"];
|
||||
[dict setObject: @"Gorm 0.5.0 (Beta)"
|
||||
[dict setObject: @"Gorm 0.5.1 (Beta)"
|
||||
forKey: @"ApplicationRelease"];
|
||||
[dict setObject: @"0.5.0 Nov 23 2003"
|
||||
[dict setObject: @"0.5.1 Nov 29 2003"
|
||||
forKey: @"FullVersionID"];
|
||||
[dict setObject: [NSArray arrayWithObjects: @"Gregory John Casamento <greg_casamento@yahoo.com>",
|
||||
@"Richard Frith-Macdonald <rfm@gnu.org>",
|
||||
|
|
|
@ -724,8 +724,6 @@ static NSImage *classesImage = nil;
|
|||
NSMapRemove(objToName, (void*)anObject);
|
||||
RELEASE(name);
|
||||
}
|
||||
|
||||
RELEASE(anObject);
|
||||
}
|
||||
|
||||
- (void) detachObjects: (NSArray*)anArray
|
||||
|
|
Loading…
Reference in a new issue