FROM : Scott Ribe
DATE : Fri Apr 18 14:21:06 2008
> I have the function wrapped in an autorelease pool and have tried
> explicitly allocating and releasing the NSPipe.
Sre you sure the NSPipes are being dealloc'd? Are you sure you have sent
release/autorelease enough times? NSTask probably retains the NSPipes. Are
you reusing the same NSTask? If not, is the NSTask being dealloc'd, in other
words is it being released enough and is it alloc'd within the scope your
autorelease pool?
--
Scott Ribe
<email_removed>
http://www.killerbytes.com/
(303) 722-0567 voice
DATE : Fri Apr 18 14:21:06 2008
> I have the function wrapped in an autorelease pool and have tried
> explicitly allocating and releasing the NSPipe.
Sre you sure the NSPipes are being dealloc'd? Are you sure you have sent
release/autorelease enough times? NSTask probably retains the NSPipes. Are
you reusing the same NSTask? If not, is the NSTask being dealloc'd, in other
words is it being released enough and is it alloc'd within the scope your
autorelease pool?
--
Scott Ribe
<email_removed>
http://www.killerbytes.com/
(303) 722-0567 voice
| Related mails | Author | Date |
|---|---|---|
| justin webster | Apr 18, 11:23 | |
| Scott Ribe | Apr 18, 14:21 | |
| Ken Thomases | Apr 18, 21:15 | |
| justin webster | Apr 19, 04:21 | |
| Jens Alfke | Apr 19, 06:39 | |
| justin webster | Apr 19, 06:58 | |
| Bob Smith | Apr 19, 09:45 | |
| Jens Alfke | Apr 19, 17:20 |






Cocoa mail archive

