fix graceful shutdown

This commit is contained in:
lemonsh 2022-07-28 13:21:05 +02:00
parent 47c15d8d43
commit e3ac4e7b23
1 changed files with 1 additions and 0 deletions

View File

@ -209,6 +209,7 @@ async fn message_loop<SF>(
}
}
}
drop(cancelled_send);
let _ = cancelled_recv.recv().await;
Ok(())
}