Level / memdown

In-memory abstract-leveldown store for Node.js and browsers.
MIT License
287 stars 37 forks source link

Was the .destroy method removed? #146

Closed roccomuso closed 6 years ago

vweevers commented 6 years ago

Yes, because memdown v2 no longer has global state. There's no point to destroy :)

roccomuso commented 6 years ago

hm ok, Actually I'm trying to have a sort of fallback from the persistent leveldown to memdown and the destroy method is required in order to have compliant API and passing the tests.

Any hint or workaround?

ralphtheninja commented 6 years ago

@roccomuso Check if method exists before calling it