From aae221a641c980dd7c86c9fc58e7fec47bbd1cde Mon Sep 17 00:00:00 2001 From: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com> Date: Mon, 23 Aug 2021 13:40:49 -0500 Subject: [PATCH] Cancel link preview loading when unloading conversation view --- ts/views/conversation_view.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ts/views/conversation_view.ts b/ts/views/conversation_view.ts index 6a295b84a..3dc5e4ffa 100644 --- a/ts/views/conversation_view.ts +++ b/ts/views/conversation_view.ts @@ -1627,6 +1627,8 @@ Whisper.ConversationView = Whisper.View.extend({ window.reduxActions.conversations.setSelectedConversationPanelDepth(0); } + this.removeLinkPreview(); + this.remove(); },