From 069f4913cabb3185a38db33d1a8fced63bc46a85 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) } } }