Commit 0bb36ae1 authored by Jose Blaya's avatar Jose Blaya
Browse files

Fix crash

parent 3a2e34c0
......@@ -62,7 +62,7 @@ class VPNDaemon: Daemon, DatabaseAccess, ProvidersAccess {
switch connection.status {
case .connected:
nextStatus = .connected
timer.invalidate()
timer?.invalidate()
case .connecting, .reasserting:
nextStatus = .connecting
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment