lib/database.js
/*
  ** Stop database and watcher and clear pointers
  */
Stop database and watcher and clear pointers
Stop database and watcher and clear pointers
async close () {
    await this.db.close()
    this.db = null
    if (this.watcher) {
      await this.watcher.close()
      this.watcher = null
    }
  }
async close ( ) { await this . db . close ( ) this . db = null if ( this . watcher ) { await this . watcher . close ( ) this . watcher = null } }
Stop database and watcher and clear pointers
Stop database and watcher and clear pointers
/* istanbul ignore if */