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

Commit 56e158f5 authored by Fyodor Kupolov's avatar Fyodor Kupolov
Browse files

Close logging statement when stopping user

It was preventing db from closing.

Test: create guest user, remove. run dumpsys meminfo system
Bug: 36367545
Change-Id: I5508d237d67a0ed99e0316d74c8d84c9ffe26744
parent 631f7b7e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1371,6 +1371,7 @@ public class AccountManagerService
        if (accounts != null) {
            synchronized (accounts.dbLock) {
                synchronized (accounts.cacheLock) {
                    accounts.statementForLogging.close();
                    accounts.accountsDb.close();
                }
            }