summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2019-04-08 16:21:50 +0200
committerLinus Färnstrand <linus@mullvad.net>2019-04-08 17:03:43 +0200
commit556b6dfe0c6770a3208b7de4a5070f83c77660da (patch)
treed2dc61ffa3da4e3ec4cac32db5e96bcb197607df
parent07389db311ca1ac3a14bd8ee6e7e56f2843cceec (diff)
downloadmullvadvpn-556b6dfe0c6770a3208b7de4a5070f83c77660da.tar.xz
mullvadvpn-556b6dfe0c6770a3208b7de4a5070f83c77660da.zip
Fix Handler::current() warning in talpid-ipc
-rw-r--r--talpid-ipc/tests/ipc-client-server.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/talpid-ipc/tests/ipc-client-server.rs b/talpid-ipc/tests/ipc-client-server.rs
index 00caf716f1..6be8349487 100644
--- a/talpid-ipc/tests/ipc-client-server.rs
+++ b/talpid-ipc/tests/ipc-client-server.rs
@@ -74,7 +74,7 @@ fn create_client(ipc_path: String) -> jsonrpc_client_core::ClientHandle {
thread::spawn(move || {
let (client, client_handle) =
- jsonrpc_client_ipc::IpcTransport::new(&ipc_path, &tokio::reactor::Handle::current())
+ jsonrpc_client_ipc::IpcTransport::new(&ipc_path, &tokio::reactor::Handle::default())
.expect("failed to construct a transport")
.into_client();
tx.send(client_handle).unwrap();