mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-25 14:42:25 +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
|
@ -285,7 +285,7 @@ pty_slave(const char* name)
|
|||
return AUTORELEASE(task);
|
||||
}
|
||||
|
||||
- (void) gcFinalize
|
||||
- (void) finalize
|
||||
{
|
||||
[tasksLock lock];
|
||||
NSMapRemove(activeTasks, (void*)(intptr_t)_taskId);
|
||||
|
@ -294,7 +294,7 @@ pty_slave(const char* name)
|
|||
|
||||
- (void) dealloc
|
||||
{
|
||||
[self gcFinalize];
|
||||
[self finalize];
|
||||
RELEASE(_arguments);
|
||||
RELEASE(_environment);
|
||||
RELEASE(_launchPath);
|
||||
|
@ -954,9 +954,9 @@ GSPrivateCheckTasks()
|
|||
return found;
|
||||
}
|
||||
|
||||
- (void) gcFinalize
|
||||
- (void) finalize
|
||||
{
|
||||
[super gcFinalize];
|
||||
[super finalize];
|
||||
if (wThread != NULL)
|
||||
{
|
||||
CloseHandle(wThread);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue