mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
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:
parent
952af9c197
commit
b830b55dee
22 changed files with 116 additions and 95 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue