diff --git a/src/rpc.rs b/src/rpc.rs index 3761511a2..ee9a368f4 100644 --- a/src/rpc.rs +++ b/src/rpc.rs @@ -58,6 +58,7 @@ impl JsonRpcService { server.unwrap().close(); break; } + sleep(Duration::from_millis(100)); } () })