mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
11dc19f7ed
Replace the 100ms polling loop in the background app refresh with a subject that the state machine's transition handler sets as soon as the app is no longer restoring a session, whatever the outcome. The refresh now awaits it once, with the same 5 second timeout, instead of waking up repeatedly. Move the wait back into the class body and silence type_body_length for AppCoordinator rather than keeping a single-function extension around to stay under the limit.