FROM : Western Botanicals
DATE : Fri May 02 18:32:05 2008
Thanks for more input. I have revised it yet again... and it seems to
be working just fine.
The reason I put the AutoReleasePools in there is because I am getting
these errors in the output. So if you can help me find what is wrong
that would be great. Every time I create a Date or Timer object, I get
one or both of these:
_NSAutoreleaseNoPool(): Object 0x10a810 of class __NSCFDate
autoreleased with no pool in place - just leaking
_NSAutoreleaseNoPool(): Object 0x10b100 of class NSCFTimer
autoreleased with no pool in place - just leaking
I had to use a different server for the code this time. I have
included a tester class
http://expresslanevideo.com/transfer/code/CacheTesterh.txt
http://expresslanevideo.com/transfer/code/CacheTesterm.txt
http://expresslanevideo.com/transfer/code/Cacheh13.txt
http://expresslanevideo.com/transfer/code/Cachem13.txt
Justin Giboney
On May 2, 2008, at 9:22 AM, Jens Alfke wrote:
>
> On 2 May '08, at 4:37 AM, Gregory Weston wrote:
>
>> Not unless the docs are lying (and based on heavy timer usage in
>> some of my apps, I'm going to claim they're not). From the NSTimer
>> overview:
>>
>> "Note in particular that run loops retain their timers, so you can
>> release a timer after you have added it to a run loop."
>
> Yikes! Guess I still have a few things left to learn :-P Thanks for
> the tip.
>
> —Jens_______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
DATE : Fri May 02 18:32:05 2008
Thanks for more input. I have revised it yet again... and it seems to
be working just fine.
The reason I put the AutoReleasePools in there is because I am getting
these errors in the output. So if you can help me find what is wrong
that would be great. Every time I create a Date or Timer object, I get
one or both of these:
_NSAutoreleaseNoPool(): Object 0x10a810 of class __NSCFDate
autoreleased with no pool in place - just leaking
_NSAutoreleaseNoPool(): Object 0x10b100 of class NSCFTimer
autoreleased with no pool in place - just leaking
I had to use a different server for the code this time. I have
included a tester class
http://expresslanevideo.com/transfer/code/CacheTesterh.txt
http://expresslanevideo.com/transfer/code/CacheTesterm.txt
http://expresslanevideo.com/transfer/code/Cacheh13.txt
http://expresslanevideo.com/transfer/code/Cachem13.txt
Justin Giboney
On May 2, 2008, at 9:22 AM, Jens Alfke wrote:
>
> On 2 May '08, at 4:37 AM, Gregory Weston wrote:
>
>> Not unless the docs are lying (and based on heavy timer usage in
>> some of my apps, I'm going to claim they're not). From the NSTimer
>> overview:
>>
>> "Note in particular that run loops retain their timers, so you can
>> release a timer after you have added it to a run loop."
>
> Yikes! Guess I still have a few things left to learn :-P Thanks for
> the tip.
>
> —Jens_______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Western Botanicals | Apr 30, 15:50 | |
| Jean-Daniel Dupas | Apr 30, 16:44 | |
| Jens Alfke | Apr 30, 17:08 | |
| Western Botanicals | May 1, 00:14 | |
| Jens Alfke | May 1, 04:30 | |
| Western Botanicals | May 2, 01:49 | |
| Jens Alfke | May 2, 06:58 | |
| Gregory Weston | May 2, 13:37 | |
| Jens Alfke | May 2, 17:22 | |
| Western Botanicals | May 2, 18:32 | |
| Jens Alfke | May 2, 20:03 | |
| Uli Kusterer | May 2, 22:29 | |
| Chris Hanson | May 3, 04:24 |






Cocoa mail archive

