gui: fix the export subscription being stuck in Running state

This commit is contained in:
pythcoiner 2025-03-02 12:16:04 +01:00
parent 85024d64bd
commit 3513226af0
No known key found for this signature in database
GPG Key ID: C1048AEEDF303B88

View File

@ -359,10 +359,7 @@ pub fn export_subscription(
Status::Stopped => {
break;
}
Status::Running => {
sleep(time::Duration::from_millis(100)).await;
continue;
}
Status::Running => {}
}
let msg = state.receiver.try_recv();
let disconnected = match msg {