KVOCrashWorkaround
Workaround to solve some multithreading bugs in Swift’s KVO. This needs to execute before anything can register KVO in the background so the best way to do this is before the application ever runs
KVOCrashWorkaround.installFix()
Note
it’s not required for Swift 5.1 and above, see this Swift PR-
Install the workaround: it shoud be done from the main thread.