Comparing version
@@ -472,2 +472,4 @@ const SystemView = require('./system') | ||
} | ||
// skipped system for whatever reason... | ||
if (!views[0]) return | ||
@@ -474,0 +476,0 @@ this.pendingViews = views |
@@ -102,6 +102,8 @@ const b4a = require('b4a') | ||
async release () { | ||
if (this.atomicBatch) { | ||
await this.atomicBatch.close() | ||
this.atomicBatch = null | ||
} | ||
if (!this.atomicBatch) return | ||
await this.atomicBatch.ready() | ||
const sessions = this.atomicBatch.state.sessions | ||
for (let i = sessions.length - 1; i >= 0; i--) await sessions[i].close() | ||
await this.atomicBatch.close() | ||
this.atomicBatch = null | ||
} | ||
@@ -108,0 +110,0 @@ |
{ | ||
"name": "autobase", | ||
"version": "7.0.23", | ||
"version": "7.0.24", | ||
"description": "", | ||
@@ -38,4 +38,4 @@ "main": "index.js", | ||
"debounceify": "^1.0.0", | ||
"hyperbee": "^2.15.0", | ||
"hypercore": "^11.0.10", | ||
"hyperbee": "^2.22.0", | ||
"hypercore": "^11.0.21", | ||
"hypercore-crypto": "^3.4.0", | ||
@@ -42,0 +42,0 @@ "hypercore-id-encoding": "^1.2.0", |
177074
0.13%4783
0.08%Updated
Updated