• 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
Power Nap causing NSTimer to fire immediately
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Power Nap causing NSTimer to fire immediately


  • Subject: Power Nap causing NSTimer to fire immediately
  • From: Trygve Inda <email@hidden>
  • Date: Sat, 04 Aug 2012 07:40:05 -0700
  • Thread-topic: Power Nap causing NSTimer to fire immediately

When our software is running and the Mac goes into Power Nap, our NSTimers
(which are fire-once and set to 3 hour periods) are firing immediately, so
the software does the timer work and installed a new fire-once timer for 3
hours later.

Except that one of course fires immediately and it just keeps going.

How can we prevent this?

I'd like our app to stop completely (but not quit of course) during Power
Nap.

Thanks,

Trygve



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Power Nap causing NSTimer to fire immediately
      • From: Trygve Inda <email@hidden>
  • Prev by Date: Re: crash in showOpenPanel on ML
  • Next by Date: Re: crash in showOpenPanel on ML
  • Previous by thread: Closing connections nicely when DO server crashes
  • Next by thread: Re: Power Nap causing NSTimer to fire immediately
  • Index(es):
    • Date
    • Thread