that link is something else, thats the one that emits the event if PouchDB.destroy is used, [here](https://github.com/daleharvey/pouchdb/pull/1729/files#diff-a7bcb5fcc46018435e1ce3fa65fcb992R810) is where it is taken care of