From af0c088464bc3e318ea57f911062ee09dc66ddb6 Mon Sep 17 00:00:00 2001 From: eehouse Date: Thu, 8 Apr 2010 04:10:42 +0000 Subject: [PATCH] close cursor to avoid exceptions in finalize --- xwords4/android/XWords4/src/org/eehouse/android/xw4/Utils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/Utils.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/Utils.java index cc82b7272..5f0bfc0d0 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/Utils.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/Utils.java @@ -466,6 +466,7 @@ public class Utils { getColumnIndex(DBHelper.GAME_OVER)); summary.gameOver = tmp == 0 ? false : true; } + cursor.close(); db.close(); return summary; }