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:
1 parent
6c2fbd43db
commit
7afd77976a
1 file changed
+1
-1
@@ -120,7 +120,7 @@ impl ConnectionOps for Connection {
|
||||
let timer_ref = unsafe {
|
||||
CFRunLoopTimerCreate(
|
||||
std::ptr::null(),
|
||||
CFAbsoluteTimeGetCurrent(),
|
||||
CFAbsoluteTimeGetCurrent() + secs_f64,
|
||||
secs_f64,
|
||||
0,
|
||||
0,
|
||||
|
||||
Reference in new issue
Block a user