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

Commit 901ee527 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Fix potential double destroy of AssetManager am: 0a8a1e9d am: 303d3874 am: e29951e2

Change-Id: Ie636f378bb68f414760453198f4c08762182568a
parents 49c19c51 e29951e2
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1157,8 +1157,11 @@ public final class AssetManager implements AutoCloseable {
            }
        }

        synchronized (this) {
            if (mObject != 0) {
                nativeDestroy(mObject);
                mObject = 0;
            }
        }
    }