diff options
Diffstat (limited to 'talpid-core/src')
| -rw-r--r-- | talpid-core/src/routing/unix.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/talpid-core/src/routing/unix.rs b/talpid-core/src/routing/unix.rs index a59ee6ed27..4fd7da37d1 100644 --- a/talpid-core/src/routing/unix.rs +++ b/talpid-core/src/routing/unix.rs @@ -194,6 +194,12 @@ impl RouteManager { } } + /// Exposes runtime handle + #[cfg(target_os = "linux")] + pub fn runtime_handle(&self) -> tokio02::runtime::Handle { + self.runtime.handle().clone() + } + /// Route DNS requests through the tunnel interface. #[cfg(target_os = "linux")] pub fn route_exclusions_dns( |
