mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
d304d9ee34
commit
f8441e1092
22 changed files with 116 additions and 95 deletions
|
@ -163,7 +163,7 @@ NSString *NSRecursiveLockException = @"NSRecursiveLockException";
|
|||
|
||||
- (void) dealloc
|
||||
{
|
||||
[self gcFinalize];
|
||||
[self finalize];
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
@ -175,7 +175,7 @@ NSString *NSRecursiveLockException = @"NSRecursiveLockException";
|
|||
[super description], _name];
|
||||
}
|
||||
|
||||
- (void) gcFinalize
|
||||
- (void) finalize
|
||||
{
|
||||
if (_mutex != 0)
|
||||
{
|
||||
|
@ -321,7 +321,7 @@ NSString *NSRecursiveLockException = @"NSRecursiveLockException";
|
|||
|
||||
- (void) dealloc
|
||||
{
|
||||
[self gcFinalize];
|
||||
[self finalize];
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
@ -333,7 +333,7 @@ NSString *NSRecursiveLockException = @"NSRecursiveLockException";
|
|||
[super description], _name];
|
||||
}
|
||||
|
||||
- (void) gcFinalize
|
||||
- (void) finalize
|
||||
{
|
||||
if (_condition != 0)
|
||||
{
|
||||
|
@ -642,7 +642,7 @@ NSString *NSRecursiveLockException = @"NSRecursiveLockException";
|
|||
|
||||
- (void) dealloc
|
||||
{
|
||||
[self gcFinalize];
|
||||
[self finalize];
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
@ -654,7 +654,7 @@ NSString *NSRecursiveLockException = @"NSRecursiveLockException";
|
|||
[super description], _name];
|
||||
}
|
||||
|
||||
- (void) gcFinalize
|
||||
- (void) finalize
|
||||
{
|
||||
if (_mutex != 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue