How to register and unregister gracefully in Growl?
Posted: Tue May 08, 2007 1:44 pm
When I make [GrowlApplicationBridge setGrowlDelegate:self], Growl framework retains my object (self) so my dealloc method is never called.
If I try [GrowlApplicationBridge setGrowlDelegate:nil] in ApplicationWillTerminate method, Growl releases my object and now dealloc is called.
But as a side effect Growl displays warning "The Growl delegate did not supply a registration dictionary".
Do you know how should I unregister my object in Growl when application is finished?
If I try [GrowlApplicationBridge setGrowlDelegate:nil] in ApplicationWillTerminate method, Growl releases my object and now dealloc is called.
But as a side effect Growl displays warning "The Growl delegate did not supply a registration dictionary".
Do you know how should I unregister my object in Growl when application is finished?