• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Script Editor's control-command-R (branched from Re: Can one get physical location via Applescript?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
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

References: 
 >Can one get physical location via Applescript? (From: Charles Arthur <email@hidden>)
 >Re: Can one get physical location via Applescript? (From: Nick Passmore <email@hidden>)
 >Re: Can one get physical location via Applescript? (From: Charles Arthur <email@hidden>)
 >Re: Can one get physical location via Applescript? (From: Shane Stanley <email@hidden>)
 >Re: Can one get physical location via Applescript? (From: Paul Fidler <email@hidden>)
 >Re: Can one get physical location via Applescript? (From: Shane Stanley <email@hidden>)
 >Script Editor's control-command-R (branched from Re: Can one get physical location via Applescript?) (From: 2551 <email@hidden>)
 >Re: Script Editor's control-command-R (branched from Re: Can one get physical location via Applescript?) (From: Shane Stanley <email@hidden>)
 >Re: Script Editor's control-command-R (branched from Re: Can one get physical location via Applescript?) (From: 2551 <email@hidden>)

  • Prev by Date: Re: Script Editor's control-command-R (branched from Re: Can one get physical location via Applescript?)
  • Next by Date: New day, new issue, TextEdit
  • Previous by thread: Re: Script Editor's control-command-R (branched from Re: Can one get physical location via Applescript?)
  • Next by thread: Broken Script in Yosemite
  • Index(es):
    • Date
    • Thread