Skip to content

SignalCache can perform FileIO on the main thread.  #137

@Dean151

Description

@Dean151

Related:
Capture d’écran 2024-01-28 à 19 40 46

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions