From 9fe504a9a805c03eae57327b944593ab99dc6ad8 Mon Sep 17 00:00:00 2001 From: Cian Buckley <5004532+cianBuckley@users.noreply.github.com> Date: Thu, 2 Nov 2023 17:50:03 +0100 Subject: [PATCH] Revert "don't invalidate preloaded cache on checkout close events (#46)" (#47) This reverts commit ddf153ffd01971c8a4dda9b328fb6e8affaaf162. --- Sources/ShopifyCheckout/CheckoutViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/ShopifyCheckout/CheckoutViewController.swift b/Sources/ShopifyCheckout/CheckoutViewController.swift index 2d0b016b..f1cd4e93 100644 --- a/Sources/ShopifyCheckout/CheckoutViewController.swift +++ b/Sources/ShopifyCheckout/CheckoutViewController.swift @@ -116,6 +116,7 @@ class CheckoutViewController: UIViewController, UIAdaptivePresentationController } private func didCancel() { + CheckoutView.invalidate() delegate?.checkoutDidCancel() } }