Loading core/java/android/database/sqlite/SQLiteProgram.java +2 −2 Original line number Diff line number Diff line Loading @@ -76,7 +76,7 @@ public abstract class SQLiteProgram extends SQLiteClosable { @Override protected void onAllReferencesReleased() { // release the compiled sql statement used by me if it is NOT in cache if (!myCompiledSqlIsInCache) { if (!myCompiledSqlIsInCache && compiledSql != null) { compiledSql.releaseSqlStatement(); compiledSql = null; // so that GC doesn't call finalize() on it } Loading @@ -87,7 +87,7 @@ public abstract class SQLiteProgram extends SQLiteClosable { @Override protected void onAllReferencesReleasedFromContainer() { // release the compiled sql statement used by me if it is NOT in cache if (!myCompiledSqlIsInCache) { if (!myCompiledSqlIsInCache && compiledSql != null) { compiledSql.releaseSqlStatement(); compiledSql = null; // so that GC doesn't call finalize() on it } Loading Loading
core/java/android/database/sqlite/SQLiteProgram.java +2 −2 Original line number Diff line number Diff line Loading @@ -76,7 +76,7 @@ public abstract class SQLiteProgram extends SQLiteClosable { @Override protected void onAllReferencesReleased() { // release the compiled sql statement used by me if it is NOT in cache if (!myCompiledSqlIsInCache) { if (!myCompiledSqlIsInCache && compiledSql != null) { compiledSql.releaseSqlStatement(); compiledSql = null; // so that GC doesn't call finalize() on it } Loading @@ -87,7 +87,7 @@ public abstract class SQLiteProgram extends SQLiteClosable { @Override protected void onAllReferencesReleasedFromContainer() { // release the compiled sql statement used by me if it is NOT in cache if (!myCompiledSqlIsInCache) { if (!myCompiledSqlIsInCache && compiledSql != null) { compiledSql.releaseSqlStatement(); compiledSql = null; // so that GC doesn't call finalize() on it } Loading