Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39306af7 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Fixing memory leak on rebind

Folder listeners were only cleared on activity destroy

Bug: 79322746
Change-Id: I5da98b864855303d21b86511de2e2982cd56f305
parent db05fc28
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -517,6 +517,7 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
        }

        // Remove the pages and clear the screen models
        removeFolderListeners();
        removeAllViews();
        mScreenOrder.clear();
        mWorkspaceScreens.clear();