Tweak `expo-modules-core` hack patch (#4955)

zio/stable
Hailey 2024-08-18 13:24:41 -07:00 committed by GitHub
parent 40ab67fc4b
commit 2939ee7df7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ index ee2268a..4851b67 100644
internal func clear() { internal func clear() {
- Self.lockQueue.async { - Self.lockQueue.async {
+ DispatchQueue.main.sync { + Self.lockQueue.sync {
self.pairs.removeAll() self.pairs.removeAll()
} }
} }