• 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: deallocation while connecting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: deallocation while connecting


  • Subject: Re: deallocation while connecting
  • From: Glenn Maynard <email@hidden>
  • Date: Sun, 16 Dec 2012 14:37:36 -0600

On Fri, Dec 14, 2012 at 1:40 AM, Etan Kissling <email@hidden> wrote:
Even with ARC you have to make sure that the peripheral is retained. ARC does nothing magically, it only inserts automatic retain / release calls where it knows that they are usually required.

Sure, it's just a whole lot easier to get things right with ARC.


On Fri, Dec 14, 2012 at 2:21 AM, Andras Kovi <email@hidden> wrote:
My experience is that this is a benign error.

It's often a sign of a retain count bug, so I think it's useful.

> Finally, the link to the peripheral is kept alive by iOS for 50 or so seconds. It causes more issues than it cures but we have to live with it.

It would be better if you could control whether it happens.  It's usually convenient and improves UX, but sometimes you really do need to disconnect the device immediately (eg. if the user has indicated that he wants it disconnected, perhaps so it can be connected to a different iPad).

--
Glenn Maynard

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: deallocation while connecting
      • From: Etan Kissling <email@hidden>
References: 
 >Re: deallocation while connecting (From: Glenn Maynard <email@hidden>)
 >Re: deallocation while connecting (From: Etan Kissling <email@hidden>)

  • Prev by Date: Re: deallocation while connecting
  • Next by Date: Re: deallocation while connecting
  • Previous by thread: Re: deallocation while connecting
  • Next by thread: Re: deallocation while connecting
  • Index(es):
    • Date
    • Thread