Open Dean151 opened 5 months ago
Related:
Thankfully, Marcin helped out to understand: https://mastodon.social/@krzyzanowskim/111835373363274251
Turns out that calling .sync will block the calling thread, so the fileIO is indeed blocking the main thread, because backupCache is called from either appWillTerminate or didEnterBackground methods.
Related:
Thankfully, Marcin helped out to understand: https://mastodon.social/@krzyzanowskim/111835373363274251
Turns out that calling .sync will block the calling thread, so the fileIO is indeed blocking the main thread, because backupCache is called from either appWillTerminate or didEnterBackground methods.