Skip to content

Commit 9fb5a1a

Browse files
committed
fix(scm): 🐛 preserve git collector disposal hook
1 parent b8226ad commit 9fb5a1a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/services/git-context/GitContextCollector.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,9 @@ export class GitContextCollector {
570570
}
571571
}
572572

573+
/** Keeps collector cleanup compatible with provider lifecycle hooks. */
574+
public dispose(): void {}
575+
573576
/** Counts text lines while preserving blank lines and ignoring a final newline terminator. */
574577
private countTextLines(content: string): number {
575578
if (content.length === 0) {

0 commit comments

Comments
 (0)