locking fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33356 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2011-06-20 07:47:47 +00:00
parent 33843644e1
commit 50b71cb1bc

View file

@ -253,7 +253,7 @@ handleExit()
atexit(handleExit);
enabled = YES;
}
[gnustep_global_lock lock];
[gnustep_global_lock unlock];
return YES;
}
@ -267,7 +267,7 @@ handleExit()
atexit(handleExit);
enabled = YES;
}
[gnustep_global_lock lock];
[gnustep_global_lock unlock];
shouldCleanUp = YES;
}
else