• 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: applicationShouldTerminate and DAUnmount callbacks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applicationShouldTerminate and DAUnmount callbacks


  • Subject: Re: applicationShouldTerminate and DAUnmount callbacks
  • From: Jeff Johnson <email@hidden>
  • Date: Fri, 30 Apr 2010 16:26:02 -0500

Hi Jim.

The callbacks are delivered on the run loop. If you return NSTerminateCancel, then the run loop will continue running normally, but if you don't, then run loop may stop running. Thus, you may have to run the run loop manually to get your callbacks.

-Jeff


On Apr 30, 2010, at 4:12 PM, Jim O'Connor wrote:

> 10.6.3
>
> When I get applicationShouldTerminate I send DAUnmount commands and return NSTerminateLater.
> My problem is that I don't get the callbacks from the unmount command.
> If I return NSTerminateCancel I do get my unmount callbacks.
>
> Any suggestions would be appreciated.
>
> Thanks,
> Jim

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: applicationShouldTerminate and DAUnmount callbacks
      • From: Jim O'Connor <email@hidden>
References: 
 >applicationShouldTerminate and DAUnmount callbacks (From: Jim O'Connor <email@hidden>)

  • Prev by Date: applicationShouldTerminate and DAUnmount callbacks
  • Next by Date: Re: applicationShouldTerminate and DAUnmount callbacks
  • Previous by thread: applicationShouldTerminate and DAUnmount callbacks
  • Next by thread: Re: applicationShouldTerminate and DAUnmount callbacks
  • Index(es):
    • Date
    • Thread