Re: postNotificationName random crash
Re: postNotificationName random crash
- Subject: Re: postNotificationName random crash
- From: Bill Bumgarner <email@hidden>
- Date: Sat, 16 Sep 2006 10:17:55 -0700
On Sep 16, 2006, at 7:54 AM, nick briggs wrote:
I'm really not sure how to proceed, any ideas on what may cause
postNotificationName to crash in this manner? The code is straight
forward and we use notifications extensively in this app with out
ever having seen this problem.
Are you properly unregistering any observers prior to deallocating
said observers?
Not doing so is the most common cause of notification related
crashes. The notification center does not retain observers and,
thus, forgetting to unregister an observer prior to the observer's
deallocation leads to crashes.
b.bum
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden