Make wait_for_graceful_shutdown to be pub

This commit is contained in:
Jon Häggblad
2025-02-04 15:20:07 +01:00
parent 424e94a04e
commit 77c5c8f0ca
+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);
}