Fix possible crash

This commit is contained in:
Arkadiusz Fal 2022-11-10 21:47:32 +01:00
parent 9eb8228fcf
commit 6be5342183

View File

@ -88,7 +88,7 @@ final class PlayerControlsModel: ObservableObject {
return
}
player.backend.stopControlsUpdates()
player.backend?.stopControlsUpdates()
guard !player.currentItem.isNil else {
return