From 029f19ba0bb5613343cf49e509dc7ffa6573cf72 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Thu, 30 Jun 2022 00:03:36 +0200 Subject: [PATCH] Fix crash --- Model/Player/Backends/MPVClient.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Model/Player/Backends/MPVClient.swift b/Model/Player/Backends/MPVClient.swift index 585e3c0a..44ff0f84 100644 --- a/Model/Player/Backends/MPVClient.swift +++ b/Model/Player/Backends/MPVClient.swift @@ -104,7 +104,7 @@ final class MPVClient: ObservableObject { if event!.pointee.event_id == MPV_EVENT_NONE { break } - backend.handle(event) + backend?.handle(event) } } }