X-Git-Url: https://code.octet-stream.net/netwatcher/blobdiff_plain/473c9605820f4531f9d40823338fa4bf8718dd6f..f5cae732095b884b50921e13827ef6d7375c7c3b:/src/watch_mac.rs?ds=sidebyside diff --git a/src/watch_mac.rs b/src/watch_mac.rs index 42e7217..c44169c 100644 --- a/src/watch_mac.rs +++ b/src/watch_mac.rs @@ -22,6 +22,8 @@ unsafe impl objc2::Encode for NwPath { const ENCODING: Encoding = usize::ENCODING; } +unsafe impl Send for WatchHandle {} + #[link(name = "Network", kind = "framework")] extern "C" { fn nw_path_monitor_create() -> NwPathMonitorT;