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