File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -439,6 +439,7 @@ internal extension DarwinPeripheral {
439439 log ( " Did start advertising " )
440440 self . peripheral. continuation. startAdvertising? . resume ( )
441441 }
442+ self . peripheral. continuation. startAdvertising = nil
442443 }
443444
444445 @objc ( peripheralManager: didAddService: error: )
@@ -450,6 +451,7 @@ internal extension DarwinPeripheral {
450451 log ( " Added service \( service. uuid) " )
451452 self . peripheral. continuation. addService? . resume ( )
452453 }
454+ self . peripheral. continuation. addService = nil
453455 }
454456
455457 @objc ( peripheralManager: didReceiveReadRequest: )
@@ -560,6 +562,7 @@ internal extension DarwinPeripheral {
560562 public func peripheralManagerIsReady( toUpdateSubscribers peripheral: CBPeripheralManager ) {
561563 log ( " Ready to send notifications " )
562564 self . peripheral. continuation. canNotify? . resume ( )
565+ self . peripheral. continuation. canNotify = nil
563566 }
564567 }
565568}
You can’t perform that action at this time.
0 commit comments