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

Re: Power Nap causing NSTimer to fire immediately


  • Subject: Re: Power Nap causing NSTimer to fire immediately
  • From: Trygve Inda <email@hidden>
  • Date: Sat, 04 Aug 2012 08:47:18 -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.

Just a follow-up. It seems our app shouldn't be able to do anything during
power nap, but something is causing weirdness. Anyone see anything like this
with NSTimers on 10.8?

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: Charlie Dickman <email@hidden>
References: 
 >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: Power Nap causing NSTimer to fire immediately
  • Next by thread: Re: Power Nap causing NSTimer to fire immediately
  • Index(es):
    • Date
    • Thread