From d9ad32de45099d49adbf66abdc71f18f6e7e0e13 Mon Sep 17 00:00:00 2001 From: Franco Driansetti <7194678+francodriansetti@users.noreply.github.com> Date: Mon, 4 Mar 2024 09:25:13 +0100 Subject: [PATCH] fix: Added remove player logic --- .../Player Plugin/BitMovinPlugin/BitmovinPlayerPlugin.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/PlaybackSDK/Player Plugin/BitMovinPlugin/BitmovinPlayerPlugin.swift b/Sources/PlaybackSDK/Player Plugin/BitMovinPlugin/BitmovinPlayerPlugin.swift index 90bc230..502850d 100644 --- a/Sources/PlaybackSDK/Player Plugin/BitMovinPlugin/BitmovinPlayerPlugin.swift +++ b/Sources/PlaybackSDK/Player Plugin/BitMovinPlugin/BitmovinPlayerPlugin.swift @@ -55,8 +55,8 @@ public class BitmovinPlayerPlugin: VideoPlayerPlugin { } public func removePlayer() { + player?.player.destroy() player = nil - // TODO: Remove properly } }