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

Commit a0d177f8 authored by George Hodulik's avatar George Hodulik
Browse files

Set mAfterCompute to null on destroy to prevent leak.

Bug: 144050113
Test: Set strictmode and reproed bug, then tried again with local build and there was no leak.
Change-Id: I328757dcac4ad9773cf1f2aa5517bb3040fe0986
parent a7fee3de
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -263,6 +263,7 @@ public abstract class AbstractResolverComparator implements Comparator<ResolvedC
        mHandler.removeMessages(RANKER_SERVICE_RESULT);
        mHandler.removeMessages(RANKER_RESULT_TIMEOUT);
        afterCompute();
        mAfterCompute = null;
    }

    private boolean isDefaultBrowser(ResolveInfo ri) {