trac-peer 0.1.90 → 0.1.91
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/package.json +1 -1
- package/src/protocol.js +1 -0
package/package.json
CHANGED
package/src/protocol.js
CHANGED
|
@@ -222,6 +222,7 @@ class Protocol{
|
|
|
222
222
|
async getSigned(key){
|
|
223
223
|
const view_session = this.peer.base.view.checkout(this.peer.base.view.core.signedLength);
|
|
224
224
|
const result = await view_session.get(key);
|
|
225
|
+
await view_session.close();
|
|
225
226
|
if(result === null) return null;
|
|
226
227
|
return result.value;
|
|
227
228
|
}
|