Peripheral dealloced while connecting under ARC?
Peripheral dealloced while connecting under ARC?
- Subject: Peripheral dealloced while connecting under ARC?
- From: Rick Mann <email@hidden>
- Date: Fri, 08 Mar 2013 18:31:59 -0800
I'm not keeping a reference to a peripheral I've just discovered because I don't yet have enough information. I need to connect first, discover some more services, query them.
"CoreBluetooth[WARNING] <CBConcretePeripheral: 0x1f5bd0f0 UUID = (null), Name = "My Awesome Peripheral", IsConnected = NO> is being dealloc'ed while connecting"
It seems that my peripheral should not get released by ARC while a connection is in progress. Is this a bug, or do I really need to keep a reference to each peripheral I discover?
--
Rick
_______________________________________________
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