mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-26 08:45:20 +00:00
Perf: Add final to classes that are not inherited (#574)
This commit is contained in:
@@ -250,7 +250,7 @@ class NoiseSession {
|
||||
|
||||
// MARK: - Session Manager
|
||||
|
||||
class NoiseSessionManager {
|
||||
final class NoiseSessionManager {
|
||||
private var sessions: [String: NoiseSession] = [:]
|
||||
private let localStaticKey: Curve25519.KeyAgreement.PrivateKey
|
||||
private let managerQueue = DispatchQueue(label: "chat.bitchat.noise.manager", attributes: .concurrent)
|
||||
|
||||
Reference in New Issue
Block a user