Skip to content

Commit

Permalink
Merge pull request #2373 from square/py/close_crash
Browse files Browse the repository at this point in the history
Allow reopening of db by UI
  • Loading branch information
pyricau authored May 3, 2022
2 parents 4af8955 + ad62678 commit f491f50
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ internal object Db {
// Closing on the serial IO thread to ensure we don't close while using the db.
Io.execute {
dbHelper?.close()
dbHelper = null
}
}
}
Expand Down

0 comments on commit f491f50

Please sign in to comment.