macos: when scheduling timer, schedule first call for later

we were running it immediately which is too soon: the empty
mux check would fire before some of the scheduled jobs would
have run and registered tabs/windows.
This commit is contained in:
Wez Furlong committed 2019-11-08 18:50:12 -08:00
1 parent 6c2fbd43db
commit 7afd77976a
1 file changed
+1 -1
+1 -1
View File
@@ -120,7 +120,7 @@ impl ConnectionOps for Connection {
let timer_ref = unsafe {
CFRunLoopTimerCreate(
std::ptr::null(),
CFAbsoluteTimeGetCurrent(),
CFAbsoluteTimeGetCurrent() + secs_f64,
secs_f64,
0,
0,