diff --git a/daemon/src/notifications.rs b/daemon/src/notifications.rs index b3c801c..cf39dbd 100644 --- a/daemon/src/notifications.rs +++ b/daemon/src/notifications.rs @@ -138,7 +138,9 @@ pub fn run_notification_worker( // If there's no channel name we'll just discard the notifications else { loop { - notification_service.rx.recv().await; + if notification_service.rx.recv().await.is_none() { + break; + } } } });