From 62ed6bc6b7456681c411ecd630f69aa1cb288242 Mon Sep 17 00:00:00 2001 From: Giacomo Date: Thu, 20 Feb 2020 23:40:53 +0100 Subject: [PATCH] Added weak --- ARVideoKit/Sources/RecordAR.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ARVideoKit/Sources/RecordAR.swift b/ARVideoKit/Sources/RecordAR.swift index 5287916..293a8b4 100644 --- a/ARVideoKit/Sources/RecordAR.swift +++ b/ARVideoKit/Sources/RecordAR.swift @@ -27,11 +27,11 @@ import PhotosUI /** An object that passes the AR recorder errors and status in the protocol methods. */ - @objc public var delegate: RecordARDelegate? + @objc weak public var delegate: RecordARDelegate? /** An object that passes the AR rendered content in the protocol method. */ - @objc public var renderAR: RenderARDelegate? + @objc weak public var renderAR: RenderARDelegate? /** An object that returns the AR recorder current status. */