• 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: iOS: Preventing a singleton from being deallocated when the app is in the background.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS: Preventing a singleton from being deallocated when the app is in the background.


  • Subject: Re: iOS: Preventing a singleton from being deallocated when the app is in the background.
  • From: Alex Zavatone <email@hidden>
  • Date: Thu, 20 Oct 2016 07:38:42 -0500

On Oct 19, 2016, at 4:04 PM, Doug Hill wrote:

>
>> On Oct 19, 2016, at 2:00 PM, Jens Alfke <email@hidden> wrote:
>>
>>
>>> On Oct 19, 2016, at 1:23 PM, Steve Mills <email@hidden> wrote:
>>>
>>> Pardon my obvious question, but this isn't a matter of your app napping while in the background, is it? Or something like that?
>>
>> Why would that cause a singleton to be dealloced? The app just stops getting CPU time for a while.
>>
>> —Jens
>
> Presumably if the app is terminated due to inactivity everything would be dealloc'd including singletons. No idea if that is happening or not in this case though.
>
> Doug Hill

We have a repeating background task scheduled to operate when the app is within the background.
_______________________________________________

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


References: 
 >iOS: Preventing a singleton from being deallocated when the app is in the background. (From: Alex Zavatone <email@hidden>)
 >Re: iOS: Preventing a singleton from being deallocated when the app is in the background. (From: Steve Christensen <email@hidden>)
 >Re: iOS: Preventing a singleton from being deallocated when the app is in the background. (From: Alex Zavatone <email@hidden>)
 >Re: iOS: Preventing a singleton from being deallocated when the app is in the background. (From: Jens Alfke <email@hidden>)
 >Re: iOS: Preventing a singleton from being deallocated when the app is in the background. (From: Steve Mills <email@hidden>)
 >Re: iOS: Preventing a singleton from being deallocated when the app is in the background. (From: Jens Alfke <email@hidden>)
 >Re: iOS: Preventing a singleton from being deallocated when the app is in the background. (From: Doug Hill <email@hidden>)

  • Prev by Date: Re: iOS: Preventing a singleton from being deallocated when the app is in the background.
  • Next by Date: Re: inconsistencies in view renderings
  • Previous by thread: Re: iOS: Preventing a singleton from being deallocated when the app is in the background.
  • Next by thread: Re: iOS: Preventing a singleton from being deallocated when the app is in the background.
  • Index(es):
    • Date
    • Thread