mirror of
https://github.com/aljazceru/Android-nRF-Toolbox.git
synced 2025-12-24 09:54:20 +01:00
In case of an error it may happen that the service is destroyed (and will call close()) before the onConnectionChange(..) callback finishes. By setting this flag to false in close() the onLinklossOccur callback may be called instead of onDeviceDisconnected.