started implementing the garbage collector

This commit is contained in:
Kevin Jahns
2015-07-26 03:13:13 +00:00
parent dae0f71cbc
commit c8ded24842
10 changed files with 106 additions and 21 deletions

View File

@@ -40,7 +40,7 @@ class YConfig { // eslint-disable-line no-unused-vars
}
destroy () {
this.connector.disconnect()
this.db.removeDatabase()
this.db.destroy()
this.connector = null
this.db = null
this.transact = function () {