([NSAutoreleasePool -dealloc]): When unintalling ourselves at the

current pool, and setting our parent to be the current pool, be sure
to set our parent's _CHILD ivar to nil.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1340 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-04-10 16:40:25 +00:00
parent 459308b0a3
commit b323dabc31

View file

@ -308,8 +308,10 @@ pop_pool_from_cache ()
}
}
/* Uninstall ourselves as the current pool; install our parent parent. */
/* Uninstall ourselves as the current pool; install our parent pool. */
current_pool = _parent;
if (current_pool)
current_pool->_child = nil;
/* Don't deallocate ourself, just save us for later use. */
push_pool_to_cache (self);