Skip to content

Commit

Permalink
Fix build with sc 0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Berrysoft committed Feb 23, 2024
1 parent 880771c commit 15ee92c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netstatus/src/sc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pub fn watch() -> impl Stream<Item = ()> {
tx.send(()).ok();
})
.unwrap_or_else(|e| log::warn!("{}", e));
sc.schedule_with_runloop(&CFRunLoop::get_current(), unsafe { kCFRunLoopDefaultMode })
unsafe { sc.schedule_with_runloop(&CFRunLoop::get_current(), kCFRunLoopDefaultMode) }
.unwrap_or_else(|e| log::warn!("{}", e));
CFRunLoop::run_current();
});
Expand Down

0 comments on commit 15ee92c

Please sign in to comment.