My problem is that  applicationWillTerminate  is not being invoked when my 
launch agent is manually unloaded . My application is  uielement  with out dock 
entry . I am able to do a signal handling , low level unix signal handling like 
 sigkill , sighup etc .

Thanks
Rajendran P


On 12/4/11 5:45 PM, "Jerry Krinock" <je...@ieee.org> wrote:



On 2011 Dec 02, at 04:39, Rajendran P wrote:

> i need to  do some clean up on launchctl unload of my agent (cocoa 
> application with minimal ui ).
>
> - (void)applicationWillTerminate:(NSNotification *)aNotification  does not 
> seems to be working any other solution ?

Rajendran, you did not provide enough information.

If your problem is that -applicationWillTerminate: is not being invoked, then 
please state that and re-post.

If your problem is that launchctl is not working as expected, then you should 
try to execute your launchctl command in Terminal.app.

If launchctl is not working as expected, post the code you are using and your 
Terminal.app test results to a different list,

   launchd-...@lists.macosforge.org

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/rpichaim%40juniper.net

This email sent to rpich...@juniper.net

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to