mirror of https://github.com/bobwen-dev/hunter
fix deadlock when pausing video
This commit is contained in:
parent
44baece00f
commit
a13a427a68
|
@ -419,7 +419,7 @@ impl MediaView {
|
|||
}
|
||||
|
||||
pub fn toggle_autoplay(&self) {
|
||||
*AUTOPLAY.write() = !*AUTOPLAY.read();
|
||||
*AUTOPLAY.write() = !self.autoplay()
|
||||
}
|
||||
|
||||
pub fn toggle_mute(&self) {
|
||||
|
|
Loading…
Reference in New Issue