Fix crash

This commit is contained in:
Arkadiusz Fal 2022-06-30 00:03:36 +02:00
parent 925360ebd9
commit 069f4913ca

View File

@ -104,7 +104,7 @@ final class MPVClient: ObservableObject {
if event!.pointee.event_id == MPV_EVENT_NONE {
break
}
backend.handle(event)
backend?.handle(event)
}
}
}