gui: fix the export subscription being stuck in Running state
This commit is contained in:
parent
85024d64bd
commit
3513226af0
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user