From dcc528896a0697d57c9501922e28950e49892575 Mon Sep 17 00:00:00 2001 From: Erica Z Date: Sat, 2 Nov 2024 21:18:27 +0100 Subject: [PATCH] fix that --- src/application.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; + } } } });