Re: [Pyobjc-dev] threads + autoreleasepools
Brought to you by:
ronaldoussoren
From: Just v. R. <ju...@le...> - 2003-02-16 12:12:59
|
bb...@ma... wrote: > > Btw. I still get one warning, just for calling > > NSAutoreleasePool.pyobjcPushPool(): > > > > 2003-02-16 00:15:59.062 python2.3[9275] *** _NSAutoreleaseNoPool(): > > Object 0x3bfa90 of class NSInvocation autoreleased with no pool in > > place > > - just leaking > > > > Kindof a chicken & egg problem I suppose... > > This is in your thread, correct? Yup. > Any thread running w/a runloop will always have a top level > autorelease pool. Non looping threads do not -- hence the error > message. Right, I have no intention to have a run loop in this thread. Your fix works great, thanks! Just |