mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
don't try to cleanup on main thread exit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29478 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
64cbdbcbe9
commit
845bfe3c4c
1 changed files with 1 additions and 8 deletions
|
@ -327,14 +327,7 @@ static pthread_key_t thread_object_key;
|
|||
*/
|
||||
static void exitedThread(void *thread)
|
||||
{
|
||||
if (thread == defaultThread)
|
||||
{
|
||||
NSThread *t = defaultThread;
|
||||
|
||||
defaultThread = nil;
|
||||
[t dealloc];
|
||||
}
|
||||
else
|
||||
if (thread != defaultThread)
|
||||
{
|
||||
fprintf(stderr, "WARNING thread %p terminated without calling +exit!\n",
|
||||
thread);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue