NSThread question
NSThread question
- Subject: NSThread question
- From: Candide Kemmler <email@hidden>
- Date: Tue, 10 Jul 2001 10:47:58 +0200
Hi,
I have a button (several of them actually) which triggers a long
rendering. My application not being multithreaded, the button stays blue
for a long while, until the rendering's finished. I tried to do:
[ NSThread detachNewThreadSelector:@selector(display) toTarget:self
withObject:nil ];
But then I get
Jul 10 10:46:50 TT[979] *** _NSAutoreleaseNoPool(): Object 0x145d390 of
class NSBezierPath autoreleased with no pool in place - just leaking
Jul 10 10:46:50 TT[979] *** _NSAutoreleaseNoPool(): Object 0x145d3f0 of
class NSBezierPath autoreleased with no pool in place - just leaking
Jul 10 10:46:50 TT[979] *** _NSAutoreleaseNoPool(): Object 0x145d300 of
class NSCalibratedRGBColor autoreleased with no pool in place - just
leaking
What's wrong with my call ?
Candide