From 2cc6bd5f1a7729a38415a6c79286c7bcd76dba5d Mon Sep 17 00:00:00 2001 From: CaS Date: Sun, 15 Jun 2003 05:24:07 +0000 Subject: [PATCH] Tidied git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16923 72102866-910b-0410-8b05-ffd578937521 --- Source/NSAutoreleasePool.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/NSAutoreleasePool.m b/Source/NSAutoreleasePool.m index 9afba2a5e..a49e25fba 100644 --- a/Source/NSAutoreleasePool.m +++ b/Source/NSAutoreleasePool.m @@ -543,6 +543,11 @@ static IMP initImp; return self; } +/** + * Destroys all the autorelease pools in the thread. + * You should not call this directly, it's called automatically + * when a thread exits. + */ + (void) _endThread: (NSThread*)thread { struct autorelease_thread_vars *tv;