We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9d88fa commit 8d92d61Copy full SHA for 8d92d61
library/src/main/java/com/absinthe/rulesbundle/RuleDatabase.kt
@@ -10,6 +10,11 @@ abstract class RuleDatabase : RoomDatabase() {
10
11
abstract fun ruleDao(): RuleDao
12
13
+ override fun close() {
14
+ super.close()
15
+ instance = null
16
+ }
17
+
18
companion object {
19
// Singleton prevents multiple instances of database opening at the
20
// same time.
0 commit comments