Make wait_for_graceful_shutdown to be pub (#5424)

This commit is contained in:
Jon Häggblad
2025-02-05 08:58:25 +01:00
committed by GitHub
parent 1d2e6d916c
commit 3a21cfa1ab
+1 -1
View File
@@ -221,7 +221,7 @@ impl TaskManager {
}
}
pub(crate) async fn wait_for_graceful_shutdown(&mut self) {
pub async fn wait_for_graceful_shutdown(&mut self) {
if let Some(notify_rx) = self.notify_rx.take() {
drop(notify_rx);
}