Cocoa AU window close and retain count
Cocoa AU window close and retain count
- Subject: Cocoa AU window close and retain count
- From: "J. C." <email@hidden>
- Date: Thu, 26 Apr 2007 13:35:04 -0500
As far as I understand, when closing the window of an AU, the hosts calls
"release" on the "CocoaView". This should call dealloc, where the event
listeners are removed. The problem is that if any object has retained the
view (in my case a timer), then dealloc is never called, causing problems
the next time the window is opened.
My question is: Is there any method I can implement that will get called on
window close, so that I can invalidate my timer so tha the view gets
properly released? If not, then what would be the best way to solve this
issue?
Thanks,
J.C.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
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