Configure timers to fire even when tracking mouse events
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
@@ -388,7 +388,7 @@ class TunnelContainer: NSObject {
|
||||
self.refreshStatus()
|
||||
}
|
||||
self.activationTimer = activationTimer
|
||||
RunLoop.main.add(activationTimer, forMode: .default)
|
||||
RunLoop.main.add(activationTimer, forMode: .common)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -444,7 +444,7 @@ class TunnelContainer: NSObject {
|
||||
self.isActivateOnDemandEnabled = self.tunnelProvider.isOnDemandEnabled
|
||||
}
|
||||
self.deactivationTimer = deactivationTimer
|
||||
RunLoop.main.add(deactivationTimer, forMode: .default)
|
||||
RunLoop.main.add(deactivationTimer, forMode: .common)
|
||||
return
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user