Skip to content
Permalink
Browse files

return value was removing the wrong functions

  • Loading branch information
arj03 committed Feb 8, 2018
1 parent 437eee5 commit 81c9c7819cbebbb73cf07ab0fbf79d3c99602dc5
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.js
@@ -47,8 +47,8 @@ module.exports = function post (db, opts, each) {

return function () {
db.removeListener('put', onPut)
db.removeListener('del', onPut)
db.removeListener('batch', onPut)
db.removeListener('del', onDel)
db.removeListener('batch', onBatch)
}
}

0 comments on commit 81c9c78

Please sign in to comment.