Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
While preapring for app freeze, we reset _shutdownPending to NO. That deactivated the failsafe used to ignore idle states on disconnected accounts and triggered a second shutdown. (But since the app suspension was already triggered (the bg task was terminated), the double shutdown got delayed to next app foreground.) The second shutdown tried to flush the log, but the logging queue was already suspended, so the flushing blocked the main thread indefinitely leading to the iOS watchdog killing the app. This was not visible in any logfiles, because of the suspended logging queue, but our new udp logger force send made it visible.
- Loading branch information