mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Cancel loading assets on switching backend
This commit is contained in:
@@ -353,6 +353,10 @@ final class MPVBackend: PlayerBackend {
|
||||
isPlaying ? pause() : play()
|
||||
}
|
||||
|
||||
func cancelLoads() {
|
||||
stop()
|
||||
}
|
||||
|
||||
func stop() {
|
||||
client?.stop()
|
||||
}
|
||||
|
Reference in New Issue
Block a user