Dexie.on.close
Syntax
Description
The "close" event occurs if database is forcibly closed from external action. The event is not fired when calling db.close().
See corresponding docs on MDN: https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/close_event