Re: applicationShouldTerminate and DAUnmount callbacks
Re: applicationShouldTerminate and DAUnmount callbacks
- Subject: Re: applicationShouldTerminate and DAUnmount callbacks
- From: Jim O'Connor <email@hidden>
- Date: Fri, 30 Apr 2010 13:44:05 -0800
Hi Jeff,
I thought that the later response allowed the run loop to continue.
I see that there is a special run loop for this condition though.
Thanks,
Jim
On Apr 30, 2010, at 1:26 PM, Jeff Johnson wrote:
> 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