aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS/ViewController
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2019-01-31 17:04:34 +0530
committerRoopesh Chander <roop@roopc.net>2019-01-31 17:04:34 +0530
commit3b295785241c0a0a5ce56d39852d4162c2530965 (patch)
treea659922802519d9b68694e936d8dc5bab98ab0f1 /WireGuard/WireGuard/UI/macOS/ViewController
parentmacOS: Tunnel detail: Reload runtime config every second (diff)
downloadwireguard-apple-3b295785241c0a0a5ce56d39852d4162c2530965.tar.xz
wireguard-apple-3b295785241c0a0a5ce56d39852d4162c2530965.zip
Configure timers to fire even when tracking mouse events
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/macOS/ViewController')
-rw-r--r--WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift
index 489e868c..c9cb09a7 100644
--- a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift
+++ b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift
@@ -254,7 +254,7 @@ class TunnelDetailTableViewController: NSViewController {
self?.reloadRuntimeConfiguration()
}
reloadRuntimeConfigurationTimer = reloadTimer
- RunLoop.main.add(reloadTimer, forMode: .default)
+ RunLoop.main.add(reloadTimer, forMode: .common)
}
func stopUpdatingRuntimeConfiguration() {