Search found 2 matches

by stapoz
Thu May 10, 2007 12:03 pm
Forum: Growl
Topic: How to register and unregister gracefully in Growl?
Replies: 2
Views: 3415

Yes. but dealloc is called when retainCount is equal to zero which never happens because Growl keeps one handle. My dealloc contains some important functions which are never called and the application is terminated without proper functions calling.
by stapoz
Tue May 08, 2007 1:44 pm
Forum: Growl
Topic: How to register and unregister gracefully in Growl?
Replies: 2
Views: 3415

How to register and unregister gracefully in Growl?

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 effe...