diff options
| author | David Lönnhager <david.l@mullvad.net> | 2020-10-05 11:50:02 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2020-10-05 15:27:47 +0200 |
| commit | 00097409bf285e08de927d1f934e32208fd4bb5e (patch) | |
| tree | 44cf8bd0cbc434b55a2d035426dc79cfe06fa3aa | |
| parent | 3d584c8054cb185988b8a211156eb270d09a18fa (diff) | |
| download | mullvadvpn-00097409bf285e08de927d1f934e32208fd4bb5e.tar.xz mullvadvpn-00097409bf285e08de927d1f934e32208fd4bb5e.zip | |
Fix route manager blocking forever on shutdown
| -rw-r--r-- | talpid-core/src/routing/linux.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/talpid-core/src/routing/linux.rs b/talpid-core/src/routing/linux.rs index 025804d3e1..4516f19127 100644 --- a/talpid-core/src/routing/linux.rs +++ b/talpid-core/src/routing/linux.rs @@ -972,12 +972,6 @@ impl RouteManagerImpl { } } -impl Drop for RouteManagerImpl { - fn drop(&mut self) { - futures::executor::block_on(self.destructor()); - } -} - fn ip_to_bytes(addr: IpAddr) -> Vec<u8> { match addr { IpAddr::V4(addr) => addr.octets().to_vec(), |
