On Wed, Apr 23, 2008 at 10:43 AM, Darin Adler <email@hidden> wrote:
> Do you have a UI delegate? Is it possible that the UI delegate is
> deallocated before the WebView it's associated with is? Typically you need
> to call -[WebView setUIDelegate:nil] somewhere, or -[WebView close].
Ah I didn't think of that. I guess it is attempting to query the UI
delegate if it responds to a selector (which I don't based on the
context of that backtrace). When it does that it is likely messaging
an invalid object pointer.
I assume it probing if it needs to send -webView:setStatusText: or
something similar.
Anyway the nibs owner is the UI delegate and that is wired up in the
nib. In other words the nib owner shouldn't go away before the
top-level objects in the nib go away the (WebView is in a super view
that is top-level obejct) however I may have a view hierarchy
mistakenly holding onto the WebView keeping it alive beyond the life
of the nibs owner.
I have a few things to look at and tweak.
Thanks for pointing me down the likely path,
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden
This email sent to email@hidden