mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Thread fixes for NSConnection
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8174 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4211a9d8dd
commit
472f5a6d1f
6 changed files with 29 additions and 14 deletions
|
@ -390,12 +390,12 @@ static IMP initImp;
|
|||
return self;
|
||||
}
|
||||
|
||||
+ (void) _endThread
|
||||
+ (void) _endThread: (NSThread*)thread
|
||||
{
|
||||
struct autorelease_thread_vars *tv;
|
||||
id pool;
|
||||
|
||||
tv = ARP_THREAD_VARS;
|
||||
tv = &(GSCurrentThread()->_autorelease_vars);
|
||||
while (tv->current_pool)
|
||||
{
|
||||
[tv->current_pool release];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue