Skip to content

Commit 25f00ee

Browse files
committed
Introduce CookieStoreKV and WebStorageKV; ensure consitstent delete expired on reads across KVs
1 parent 8c5df3e commit 25f00ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/KV.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class KV {
6060
};
6161
node.subtree.set(key, { subtree, entries, context: node, dispose });
6262
}
63-
if (create === 0 && i && !node?.subtree.has(key)) {
63+
if (create === 0 && !node?.subtree.has(key)) {
6464
return node;
6565
}
6666
return node?.subtree.get(key);

0 commit comments

Comments
 (0)