Interim commit.

This commit is contained in:
gmp
2019-06-18 17:29:52 -04:00
parent e5c8e114bf
commit c8209dd260
4 changed files with 43 additions and 24 deletions
+3 -3
View File
@@ -38,9 +38,9 @@ func discoverPeripheral(c *ns.CBCentralManager, p *ns.CBPeripheral, d *ns.NSDict
// and if so release the old one. Be careful to check the Objective-C pointers
// here as the Go pointers will differ.
if peripheral != nil && p.Ptr() != peripheral.Ptr() {
peripheral.Release()
}
// if peripheral != nil && p.Ptr() != peripheral.Ptr() {
// peripheral.Release()
// }
peripheral = p