mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 18:25:19 +00:00
Fix hidden source of deadlock (#794)
This commit is contained in:
@@ -276,7 +276,7 @@ private extension SecureLogger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Cache the result
|
// Cache the result
|
||||||
cacheQueue.async(flags: .barrier) {
|
cacheQueue.sync {
|
||||||
sanitizationCache.setObject(sanitized as NSString, forKey: key)
|
sanitizationCache.setObject(sanitized as NSString, forKey: key)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user