mirror of
https://github.com/wez/wezterm.git
synced 2024-12-25 06:12:16 +03:00
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:
parent
6c2fbd43db
commit
7afd77976a
@ -120,7 +120,7 @@ impl ConnectionOps for Connection {
|
||||
let timer_ref = unsafe {
|
||||
CFRunLoopTimerCreate(
|
||||
std::ptr::null(),
|
||||
CFAbsoluteTimeGetCurrent(),
|
||||
CFAbsoluteTimeGetCurrent() + secs_f64,
|
||||
secs_f64,
|
||||
0,
|
||||
0,
|
||||
|
Loading…
Reference in New Issue
Block a user