Re: Crash in AppKit?
Re: Crash in AppKit?
- Subject: Re: Crash in AppKit?
- From: John Stiles <email@hidden>
- Date: Sun, 5 Jun 2005 07:01:27 -0700
I'd suggest that performSelectorOnMainThread is your friend here.On Jun 4, 2005, at 11:25 PM, Jason Staczek wrote: A good lead, the thread safety angle.
The interesting thing is that I was getting the same crash before I tried a background thread to update the display. I was originally just running a timer off the main thread. Same problem. And I'm making no other access to that NSTextView. The other interesting thing is that the crash is in the Layout Manager, not the TextView itself.
So should I try wrapping that update in a critical section?
Jason
|
_______________________________________________
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