mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
fix for possible crash during thread exit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38406 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b968b38b09
commit
04815b06fb
2 changed files with 8 additions and 0 deletions
|
@ -790,6 +790,7 @@ pop_pool_from_cache (struct autorelease_thread_vars *tv)
|
|||
/* Now free the memory (we have finished usingthe pool).
|
||||
*/
|
||||
pool = tv->current_pool;
|
||||
tv->current_pool = nil;
|
||||
while (pool)
|
||||
{
|
||||
NSAutoreleasePool *p = pool->_parent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue