Skip to content

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Westerlind authored and sylvestre committed Nov 13, 2021
1 parent 3a4987c commit 8349926
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ fn run_server_process() -> Result<ServerStartup> {

let startup = async move {
let listener = parity_tokio_ipc::Endpoint::new(pipe_name);
let socket = listener.incoming()?.next().await;
let incoming = listener.incoming()?;
futures::pin_mut!(incoming);
let socket = incoming.next().await;
let socket = socket.unwrap(); // incoming() never returns None

read_server_startup_status(socket?).await
Expand Down

0 comments on commit 8349926

Please sign in to comment.