diff --git a/TunnelKit/Sources/Core/CoreConfiguration.swift b/TunnelKit/Sources/Core/CoreConfiguration.swift index d449be4..eec694c 100644 --- a/TunnelKit/Sources/Core/CoreConfiguration.swift +++ b/TunnelKit/Sources/Core/CoreConfiguration.swift @@ -16,8 +16,6 @@ struct CoreConfiguration { static let usesReplayProtection = true -// static let usesDataOptimization = true - static let tickInterval = 0.2 static let pingInterval = 10.0 diff --git a/TunnelKit/Sources/Core/SessionProxy+SessionKey.swift b/TunnelKit/Sources/Core/SessionProxy+SessionKey.swift index 1e48370..4af525e 100644 --- a/TunnelKit/Sources/Core/SessionProxy+SessionKey.swift +++ b/TunnelKit/Sources/Core/SessionProxy+SessionKey.swift @@ -113,10 +113,5 @@ extension SessionProxy { } return decrypted } - - // func dispose() { - // tlsOptional = nil - // dataPath = nil - // } } } diff --git a/TunnelKit/Sources/Core/SessionProxy.swift b/TunnelKit/Sources/Core/SessionProxy.swift index 604dec5..d0392ea 100644 --- a/TunnelKit/Sources/Core/SessionProxy.swift +++ b/TunnelKit/Sources/Core/SessionProxy.swift @@ -899,7 +899,6 @@ public class SessionProxy { while (oldKeys.count > 1) { let key = oldKeys.removeFirst() keys.removeValue(forKey: key.id) -// key.dispose() } }