Re: Why is the latest WebKit interacting with my NSThread?
Re: Why is the latest WebKit interacting with my NSThread?
- Subject: Re: Why is the latest WebKit interacting with my NSThread?
- From: Douglas Davidson <email@hidden>
- Date: Fri, 7 Dec 2007 08:52:47 -0800
On Dec 7, 2007, at 4:57 AM, Michael Dupuis wrote:
Well after experimenting for a bit longer after posting this, I
found the
problem: I was calling
[[[NSAttributedString alloc] initWithHTML:theData
documentAttributes:nil]
autorelease]
in a thread, and apparently it's now not thread-safe (or maybe it
never
was). Moving this outside of my thread resolved the problem. This
call must
be accessing WebKit, which I guess sort of makes sense, but I
wouldn't have
expected an NSAttributedString dependancy on WebKit.
This is documented in the AppKit release notes. The behavior has
changed somewhat from release to release, so look at both the Tiger
and the Leopard release notes.
Douglas Davidson
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden