From e647035b864838518ab91766e2352e517517f853 Mon Sep 17 00:00:00 2001 From: Mohamed Fouad Date: Sun, 20 Nov 2022 09:58:00 +0100 Subject: [PATCH 1/2] Update Proxy.swift --- Sources/VLCUI/VLCVideoPlayer/Proxy.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/VLCUI/VLCVideoPlayer/Proxy.swift b/Sources/VLCUI/VLCVideoPlayer/Proxy.swift index 01f0c0f..2d0fc77 100644 --- a/Sources/VLCUI/VLCVideoPlayer/Proxy.swift +++ b/Sources/VLCUI/VLCVideoPlayer/Proxy.swift @@ -18,8 +18,8 @@ public extension VLCVideoPlayer { class Proxy: ObservableObject { - var mediaPlayer: VLCMediaPlayer? - var videoPlayerView: UIVLCVideoPlayerView? + waek var mediaPlayer: VLCMediaPlayer? + weak var videoPlayerView: UIVLCVideoPlayerView? public init() { self.mediaPlayer = nil From a38c335f463ce9c2af9501503b9ec64c7438fd5b Mon Sep 17 00:00:00 2001 From: Mohamed Fouad Date: Sun, 20 Nov 2022 13:48:42 +0100 Subject: [PATCH 2/2] Update Proxy.swift --- Sources/VLCUI/VLCVideoPlayer/Proxy.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/VLCUI/VLCVideoPlayer/Proxy.swift b/Sources/VLCUI/VLCVideoPlayer/Proxy.swift index 2d0fc77..6520c29 100644 --- a/Sources/VLCUI/VLCVideoPlayer/Proxy.swift +++ b/Sources/VLCUI/VLCVideoPlayer/Proxy.swift @@ -18,7 +18,7 @@ public extension VLCVideoPlayer { class Proxy: ObservableObject { - waek var mediaPlayer: VLCMediaPlayer? + weak var mediaPlayer: VLCMediaPlayer? weak var videoPlayerView: UIVLCVideoPlayerView? public init() {