Fix crash on refreshing devices view on iOS
Closed, ResolvedPublic

Description

Most likely caused by race condition/deadlock, and should resolve all/most of these https://invent.kde.org/network/kdeconnect-ios/-/wikis/TestFlight/Crashes#maybe-fixed. We probably shouldn't be sending out battery network packages concurrently while refreshing devices list, which is essentially what we are doing right now, since we didn't await the refresh to settle.

apollozhu triaged this task as High priority.
apollozhu updated the task description. (Show Details)May 11 2022, 10:51 AM
apollozhu moved this task from Fixes to In progress on the KDE Connect board.Mar 2 2023, 6:16 AM
apollozhu closed this task as Resolved.Apr 19 2023, 4:39 AM

The current implementation should be good enough. Should create a new task to keep track additional fixes for specific situations.