• 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
Background app + NSTimer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Background app + NSTimer


  • Subject: Background app + NSTimer
  • From: Raphael Sebbe <email@hidden>
  • Date: Thu, 3 Jan 2002 14:06:46 +0100

Hi all,

As the subject says, I have a Cocoa (AppKit) app in the background that regularly reschedules timers in its run loop. Checking the ObjectAlloc output, I saw the timer's target was not released after the timer was invalidated unless I brought the app in the foreground (all targets get correctly deallocated at that time). This is quite annoying to me since that app is of the kind that always stays in the background.

Perhaps I did not look long enough to see those targets deallocated, or there are some runloop tweaking possible. Could someone comment on this ?

Thank you,

Raphael


  • Follow-Ups:
    • Re: Background app + NSTimer
      • From: Chris Kane <email@hidden>
  • Prev by Date: Surrogate object / forwarding
  • Next by Date: NSDistributedNotification and [ notification object ]
  • Previous by thread: Re: Surrogate object / forwarding
  • Next by thread: Re: Background app + NSTimer
  • Index(es):
    • Date
    • Thread