diff --git a/Sources/ShopifyCheckoutSheetKit/CheckoutWebViewController.swift b/Sources/ShopifyCheckoutSheetKit/CheckoutWebViewController.swift index 35afe3fe..d604ab59 100644 --- a/Sources/ShopifyCheckoutSheetKit/CheckoutWebViewController.swift +++ b/Sources/ShopifyCheckoutSheetKit/CheckoutWebViewController.swift @@ -27,7 +27,7 @@ import WebKit class CheckoutWebViewController: UIViewController, UIAdaptivePresentationControllerDelegate { // MARK: Properties - var delegate: CheckoutDelegate? + weak var delegate: CheckoutDelegate? internal var checkoutView: CheckoutWebView