From 849388feb76979a504c4822c0b29bc7af2beab93 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Tue, 12 Dec 2017 12:53:09 -0500 Subject: [PATCH] CR: clean up loading assets once no longer needed // FREEBIE --- SignalShareExtension/ShareViewController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SignalShareExtension/ShareViewController.swift b/SignalShareExtension/ShareViewController.swift index f7de42acf..1347b95e7 100644 --- a/SignalShareExtension/ShareViewController.swift +++ b/SignalShareExtension/ShareViewController.swift @@ -386,6 +386,8 @@ public class ShareViewController: UINavigationController, ShareViewDelegate, SAE let conversationPicker = SharingThreadPickerViewController(shareViewDelegate: self) conversationPicker.attachment = attachment self.shareViewNavigationController.isNavigationBarHidden = true + self.progressPoller = nil + self.loadViewController = nil self.showPrimaryViewController(conversationPicker) Logger.info("showing picker with attachment: \(attachment)") }.catch { error in