Re: NSProgressIndicator thread crash
Re: NSProgressIndicator thread crash
- Subject: Re: NSProgressIndicator thread crash
- From: j o a r <email@hidden>
- Date: Thu, 24 Feb 2005 09:46:35 +0100
On 2005-02-24, at 09.23, Florent Pillet wrote:
Today I got a report of a crash in one of my apps. Examining the crash
log the user sent reveals that this is the thread updating the
progress bar that crashed. In my app, I have a sheet that first uses a
normal progress bar, then switches the progress bar to infinite until
the task is complete and the sheet is removed.
I suspect the call to [NSApp endSheet:] may have removed the sheet
while the progress bar thread was still scheduled. I have added a
[progressBar setIndeterminate:NO] just before the endSheet: call, but
I wanted to have expert's advice about this crash.
Most likely this is not a bug in your app. I would guess it's related
to:
<http://www.cocoabuilder.com/archive/message/cocoa/2004/12/4/123036>
<http://www.cocoabuilder.com/archive/message/cocoa/2005/1/6/125170>
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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