Skip to content

Commit e09c6cf

Browse files
committed
Update BluetoothLEManager.swift
1 parent 14856af commit e09c6cf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Sources/bluetooth-law-energy-swift/BluetoothLEManager.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,11 +229,9 @@ public final class BluetoothLEManager: NSObject, ObservableObject, IBluetoothLEM
229229
Publishers.CombineLatest(getStatePublisher, stream.subscriberCountPublisher)
230230
.receiveOnMainAndEraseToAnyPublisher()
231231
.sink { [weak self] state, subscriberCount in
232-
Task { @MainActor in
233232
guard let self = self else { return }
234233
let s = self.checkForScan(state, subscriberCount)
235234
self.bleState.send(s)
236-
}
237235
}
238236
.store(in: &cancellables)
239237
}

0 commit comments

Comments
 (0)