Skip to content

Commit 960b0c7

Browse files
committed
Removed comment about finalize, since it's no longer applicable now that I'm not using a generator function.
1 parent 9dacb52 commit 960b0c7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/memory/space.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -588,9 +588,6 @@ export const selectFacts = function <Space extends MemorySpace>(
588588
const stmt = store.prepare(EXPORT);
589589
try {
590590
const results = [];
591-
// Note: Cannot finalize() in a generator function's finally block because
592-
// the finally block runs when the generator returns (immediately), not when
593-
// it's exhausted. The statement will be finalized when the store is closed.
594591
for (
595592
const row of stmt.iter({
596593
the: the === SelectAllString ? null : the,

0 commit comments

Comments
 (0)