This commit is contained in:
Erica Z 2024-11-02 21:18:27 +01:00
parent 7f70ad44de
commit dcc528896a

View file

@ -43,7 +43,10 @@ mod imp {
while let Some(mpv) = mpv_weak.upgrade() { while let Some(mpv) = mpv_weak.upgrade() {
match mpv.tick() { match mpv.tick() {
None => break, None => break,
Some(listener) => listener.await, Some(listener) => {
drop(mpv); // don't
listener.await;
}
} }
} }
}); });