Re: Preset leaks cocoa UI resources.
Re: Preset leaks cocoa UI resources.
- Subject: Re: Preset leaks cocoa UI resources.
- From: Brian Willoughby <email@hidden>
- Date: Wed, 15 Dec 2010 01:42:09 -0800
On Dec 15, 2010, at 01:04, 吉田光宏 wrote:
The previous code is only a test , so it doesn't use an NSTimer.
But even though I am not using NSTimer in this test code, dealloc
is not being called after I select a preset and then close the GUI.
So that made me believe that it is not related to NSTimer.
Is this supposed to occur?
No, but it probably is occurring because of an excess -retain. The
challenge is to identify where the extra retain is coming from.
Perhaps you can attach to the debugger while running your plugin in
Logic, and see where the backtrace for every -retain call comes
from. I'm not really sure that technique would work, though, as I
have not tried it. Outside of the debugger, I'm not really sure how
you would safely access the call stack.
It's certainly worth reporting, especially now that it seems you've
ruled out the obvious culprits, and I hope someone else here can help.
Brian Willoughby
Sound Consulting
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden