Skip to content

Commit

Permalink
use tokio_reactor::Handle::default
Browse files Browse the repository at this point in the history
  • Loading branch information
froydnj committed Mar 9, 2020
1 parent 294551c commit b43d51f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ fn run_server_process() -> Result<ServerStartup> {
let mut runtime = Runtime::new()?;
let pipe_name = format!(r"\\.\pipe\{}", Uuid::new_v4().to_simple_ref());
let server = runtime.block_on(future::lazy(|| {
NamedPipe::new(&pipe_name, &Handle::current())
NamedPipe::new(&pipe_name, &Handle::default())
}))?;

// Connect a client to our server, and we'll wait below if it's still in
Expand Down

0 comments on commit b43d51f

Please sign in to comment.