Remove unnecessary async block

This commit is contained in:
Franck Royer 2021-02-15 16:23:21 +11:00
parent 6e6c207715
commit f36f5acaf1
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -266,7 +266,7 @@ impl EventLoop {
.await?;
let (remote, remote_handle) = alice::run(swap).remote_handle();
tokio::spawn(async move { remote.await });
tokio::spawn(remote);
let _ = self
.swap_handle_sender