mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
When a device goes out of range and then comes back into range DeviceCommunicationService disposes DeviceSupport while trying to re-establish a connection. This causes race conditions as there are multiple for path for reconnections that can be executed in parallel. The DeviceService.ACTION_CONNECT path kills everything abruptly potential leaving the gadget with a broken connection. partial backport from PR #4916