Re: Help resolving Bluetooth crash
Re: Help resolving Bluetooth crash
- Subject: Re: Help resolving Bluetooth crash
- From: Peter Sichel <email@hidden>
- Date: Thu, 14 Jan 2010 22:21:58 -0500
On Jan 11, 2010, at 9:21 PM, William Jon Shipley wrote:
> Is this on Snow Leopard? I filed two bugs on crashers related to Bluetooth over-releasing objects, RADAR 7483259 and 7448157 (marked as a duplicate of 7241792), but they’re on an IOBluetoothRFCOMMChannel object.
Yes indeed. Snow Leopard 64-bit. I never saw the crash until I built for 64-bits, but that could be just a coincidence. My code is working with an RFCOMM channel per Apple's example. Interestingly the crash occurs a substantial time after a Bluetooth device goes out of range (if at all) which means my code has long since released the corresponding RFCOMM channel object and closed the connection to the device. Perhaps I shouldn't be so quick to close the connection to the device since I'm still using
[device remoteNameRequest:self];
to check if the device is within proximity.
Thanks!
- Peter
_______________________________________________
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