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.
2 parents a9d88fa + 8d92d61 commit ed16666Copy full SHA for ed16666
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