diff --git a/src/application.rs b/src/application.rs index 1a376e5..09cd415 100644 --- a/src/application.rs +++ b/src/application.rs @@ -43,7 +43,10 @@ mod imp { while let Some(mpv) = mpv_weak.upgrade() { match mpv.tick() { None => break, - Some(listener) => listener.await, + Some(listener) => { + drop(mpv); // don't + listener.await; + } } } });