Correction for crash.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21093 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-04-12 02:54:24 +00:00
parent 9c1037fd7b
commit 20a69d296f
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2005-04-11 22:46 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormGenericEditor.m: Removed release of resource
manager. This is a "weak connection" in the sense that the
manager is a shared instance and is retained by the document,
not the editor.
2005-04-11 19:22 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormObjectEditor.m: Correction for problem which

View file

@ -173,8 +173,9 @@
if(closed == NO)
[self close];
// The resource manager is a weak connection and is not retained,
// no need to release it here.
RELEASE(objects);
RELEASE(resourceManager);
[super dealloc];
}