Add manager comment

This commit is contained in:
Arthur Petukhovsky
2024-05-20 12:58:01 +00:00
parent 81dbfc33c2
commit 78459aee43

View File

@@ -120,7 +120,8 @@ pub async fn main_task(
tli.broker_active
.store(is_active, std::sync::atomic::Ordering::SeqCst);
// wait until something changes
// wait until something changes. tx channels are stored under Arc, so they will not be
// dropped until the manager task is finished.
tokio::select! {
_ = cancellation_rx.changed() => {
// timeline was deleted