Change finalization to match MacOS-X

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27581 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-01-12 18:36:37 +00:00
parent 952af9c197
commit b830b55dee
22 changed files with 116 additions and 95 deletions

View file

@ -75,14 +75,14 @@
- (void) dealloc
{
[self gcFinalize];
[self finalize];
[super dealloc];
}
- (void) gcFinalize
- (void) finalize
{
[[NSNotificationCenter defaultCenter] removeObserver: self];
[super gcFinalize];
[super finalize];
}
- (id) init
@ -226,14 +226,14 @@
- (void) dealloc
{
[self gcFinalize];
[self finalize];
[super dealloc];
}
- (void) gcFinalize
- (void) finalize
{
[[NSNotificationCenter defaultCenter] removeObserver: self];
[super gcFinalize];
[super finalize];
}
- (id) init