• 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
Performing actions before logging out
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Performing actions before logging out


  • Subject: Performing actions before logging out
  • From: Arthur VIGAN <email@hidden>
  • Date: Tue, 31 Dec 2002 15:43:42 +0100

Hi,

I have an application which is a just a front-end to a background process, but I have a little problem when I logout. To quit my application I use a custom method which finishes by [NSApp terminate:nil], and everything works fine. But when I logout, this method is not called, and so the background processed isn't killed.
So my question is: how can I call my quitting method when a "logout signal" is received?

Thanks in advance,

Arthur
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Performing actions before logging out
      • From: David Rio Vierra <email@hidden>
  • Prev by Date: About mouseMoved events (again :-)
  • Next by Date: Re: Performing actions before logging out
  • Previous by thread: Re: About mouseMoved events (again :-)
  • Next by thread: Re: Performing actions before logging out
  • Index(es):
    • Date
    • Thread