RE: NSApp with wrong _running count
RE: NSApp with wrong _running count
- Subject: RE: NSApp with wrong _running count
- From: <email@hidden>
- Date: Tue, 20 May 2008 18:00:06 +0530
- Thread-topic: NSApp with wrong _running count
Hi
never call nsrunalert from a thread which is not main thread,use
performselectoronmain and call a function which uses nsrunalertpanel.
-----Original Message-----
From:
cocoa-dev-bounces+rajendran_pichaimurthy=email@hidden
[mailto:cocoa-dev-bounces+rajendran_pichaimurthy=email@hidden.
com] On Behalf Of Micha Fuhrmann
Sent: Tuesday, May 20, 2008 5:22 PM
To: Andrew Farmer
Cc: Cocoa-Dev List
Subject: Re: NSApp with wrong _running count
Andrew,
many thanks, now, what else can I use that's thread safe for that
matter?
Michael
On 20 mai 08, at 13:30, Andrew Farmer wrote:
> On 20 May 08, at 04:07, Micha Fuhrmann wrote:
>> some users are reporting a crash at start. From the logs it seems
>> that the sys is recognizing multiple running of the app, but from
>> there I have no clue as to how to remedy.
> <...>
>> Thread 3:
>> 8 com.apple.AppKit 0x93eeb2fd NSRunAlertPanel + 6
>
> I'm pretty sure NSRunAlertPanel isn't thread-safe.
_______________________________________________
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:
40mcafee.com
This email sent to email@hidden
_______________________________________________
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