This commit is contained in:
sxyazi 2024-05-03 23:51:01 +08:00
parent 62e7c88e65
commit d281a004bb
No known key found for this signature in database

View file

@ -35,9 +35,9 @@ impl Manager {
let mut result = InputProxy::show(InputCfg::quit(left));
loop {
select! {
_ = time::sleep(Duration::from_millis(50)) => {
_ = time::sleep(Duration::from_millis(100)) => {
i += 1;
if i > 50 { break }
if i > 30 { break }
else if ongoing.lock().len() == 0 {
emit!(Quit(opt));
return;