fix that
This commit is contained in:
parent
7f70ad44de
commit
dcc528896a
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue