mirror of
https://github.com/yattee/yattee.git
synced 2024-11-10 00:08:21 +00:00
Fix possible crash
This commit is contained in:
parent
9eb8228fcf
commit
6be5342183
@ -88,7 +88,7 @@ final class PlayerControlsModel: ObservableObject {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
player.backend.stopControlsUpdates()
|
player.backend?.stopControlsUpdates()
|
||||||
|
|
||||||
guard !player.currentItem.isNil else {
|
guard !player.currentItem.isNil else {
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user