From 551ae70c46290410a1480bfa0627ae7a7a45241b Mon Sep 17 00:00:00 2001 From: Mykhailo Prakhov Date: Tue, 4 Jun 2024 13:32:46 +0200 Subject: [PATCH] fix: crash during closing the app if gif was sent/received (#15026) --- ui/imports/shared/status/StatusChatImageLoader.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/imports/shared/status/StatusChatImageLoader.qml b/ui/imports/shared/status/StatusChatImageLoader.qml index 2af3f66705..455d93b39b 100644 --- a/ui/imports/shared/status/StatusChatImageLoader.qml +++ b/ui/imports/shared/status/StatusChatImageLoader.qml @@ -111,6 +111,8 @@ Item { root.clicked(imageMessage, mouse) } } + + Component.onDestruction: imageMessage.source = "" } Loader {