@nxtedition/rocksdb 12.0.5 → 12.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/binding.cc CHANGED
@@ -357,6 +357,8 @@ struct BaseIterator : public Closable {
357
357
 
358
358
  virtual rocksdb::Status Close() override {
359
359
  if (iterator_) {
360
+ lower_bound_.reset();
361
+ upper_bound_.reset();
360
362
  iterator_.reset();
361
363
  database_->Detach(this);
362
364
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/rocksdb",
3
- "version": "12.0.5",
3
+ "version": "12.0.6",
4
4
  "description": "A low-level Node.js RocksDB binding",
5
5
  "license": "MIT",
6
6
  "main": "index.js",