diff --git a/app/src/main/java/eu/faircode/email/DB.java b/app/src/main/java/eu/faircode/email/DB.java index 3789f6d4a4..a697614b2a 100644 --- a/app/src/main/java/eu/faircode/email/DB.java +++ b/app/src/main/java/eu/faircode/email/DB.java @@ -308,8 +308,7 @@ public abstract class DB extends RoomDatabase { if (sInstance != null && sContext != null && !sContext.equals(acontext)) try { - Log.e("Old database instance pid=" + android.os.Process.myPid() + "/" + sPid); - sInstance.close(); + Log.e("Orphan database instance pid=" + android.os.Process.myPid() + "/" + sPid); sInstance = null; } catch (Throwable ex) { Log.e(ex);