indexeddbshim / IndexedDBShim

A polyfill for IndexedDB using WebSql
Other
968 stars 191 forks source link

Utilize SQLite `close` #295

Closed brettz9 closed 7 years ago

brettz9 commented 7 years ago

As discussed in #294, we ought to be calling nodeWebSQLDBInstance._db._db.close() under the right conditions, if not for freeing resources than for catching possible errors during closing.

brettz9 commented 7 years ago

It didn't seem to be possible to recover after such a close, so I'm not sure this would be of any use.