mafintosh / hyperdb

Distributed scalable database
MIT License
753 stars 75 forks source link

Rename call to non-existent ._destroy() method to .destroy() #114

Closed jimpick closed 6 years ago

jimpick commented 6 years ago

I was getting an exception:

/app/node_modules/hyperdb/lib/watch.js:63

if (err) return this._destroy(err)

                   ^

TypeError: this._destroy is not a function

at Watcher.onkick (/app/node_modules/hyperdb/lib/watch.js:63:24)