NSAlert & NSOpenPanel on a background thread
NSAlert & NSOpenPanel on a background thread
- Subject: NSAlert & NSOpenPanel on a background thread
- From: edward taffel <email@hidden>
- Date: Thu, 22 May 2014 11:29:05 -0400
opening an NSAlert while scanning an autosaved document now engenders the following log item:
NSAlert is being used from a background thread, which is not safe. This is probably going to crash sometimes. Break on void _NSAlertWarnUnsafeBackgroundThreadUsage() to debug. This will be logged only once. This may break in the future.
this i have remedied. however, given the scenario where a url has vanished, i first show an NSAlert & then an NSOpenPanel to offer relink. NSOpenPanel causes no such background thread issue: do the two have variant thread safety? or is this likely to change in the future for NSOpenPanel, as well?
_______________________________________________
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