Re: Script Editor's control-command-R (branched from Re: Can one get physical location via Applescript?)
Re: Script Editor's control-command-R (branched from Re: Can one get physical location via Applescript?)
- Subject: Re: Script Editor's control-command-R (branched from Re: Can one get physical location via Applescript?)
- From: Shane Stanley <email@hidden>
- Date: Tue, 09 Dec 2014 23:21:20 +1100
On 9 Dec 2014, at 10:57 pm, 2551 <email@hidden> wrote:
Sorry, which document are you quoting from here?
CoreLocationManagerDelegate reference.
So there's no reason it should crash.
Ahh, based on that quote, yes there is. This version of my editor is a rather unusual one (nearly ready for release, so this info is highly timely!). I can't test the other "big brother" versions as they're all in various states of disrepair (ahem...) development.
Anyway, it's the main thread that's crashing in my app, and the debugger shows the location service is running on a background thread, so that all fits.
No it doesn't all fit. The whole point of asynchronous APIs is that the process runs on a background thread; that's nothing to do with what thread you called the manager on, and therefore which thread it sends the notification on.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden