From abcf9d04aa1d2f619cb1495f1b3eeb4ef3dc3d68 Mon Sep 17 00:00:00 2001 From: Kartatz <105828205+Kartatz@users.noreply.github.com> Date: Fri, 13 Sep 2024 17:25:25 -0300 Subject: [PATCH] Fix memory leak in LaunchActivity --- TMessagesProj/src/main/java/org/telegram/ui/LaunchActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/TMessagesProj/src/main/java/org/telegram/ui/LaunchActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/LaunchActivity.java index 60171b6b0..8434bd0a6 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/LaunchActivity.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/LaunchActivity.java @@ -6197,6 +6197,7 @@ protected void onDestroy() { } catch (Exception e) { FileLog.e(e); } + clearFragments(); super.onDestroy(); onFinish(); FloatingDebugController.onDestroy();