deviceplug / btleplug

Rust Cross-Platform Host-Side Bluetooth LE Access Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android stalls when trying to shut down device that has not received any writes/subscribes

qdot opened this issue · comments

commented

Describe the bug

  1. Scan for devices in android
  2. Connect to a device
  3. Without writing/subscribing to any services or characteristics, try to disconnect the device

Expected behavior
Device should disconnect cleanly

Actual behavior
Device will disconnect, but task stalls forever

commented

Nevermind. Timing issue on my end in a complex multiprocess FFI environment.