Re: applicationShouldTerminate and DAUnmount callbacks
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