X-Git-Url: https://code.octet-stream.net/netwatcher/blobdiff_plain/473c9605820f4531f9d40823338fa4bf8718dd6f..23af4246f4218b0c5308e643f8f578f7c20549b2:/src/watch_mac.rs 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;