Skip to content

Commit 3ce4ff6

Browse files
committed
refactor: fix dead code
1 parent 966e3cf commit 3ce4ff6

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

packages/utils/src/lib/wal.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -617,18 +617,4 @@ export class ShardedWal<T extends object | string = object> {
617617
// Directory might not be empty or already removed, ignore
618618
}
619619
}
620-
621-
finalizeIfCoordinator(): void {
622-
if (this.#finalized) {
623-
return;
624-
}
625-
this.#finalized = true;
626-
627-
if (!this.isCoordinator()) {
628-
return;
629-
}
630-
631-
this.finalize();
632-
this.cleanup();
633-
}
634620
}

0 commit comments

Comments
 (0)