Skip to content

Commit e070bc6

Browse files
Fix isInitialized not restored after tryRestart (#3643)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: andrewbranch <3277153+andrewbranch@users.noreply.github.com> Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
1 parent c872613 commit e070bc6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

_extension/src/client.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ export class Client implements vscode.Disposable {
285285
this.outputChannel.appendLine(`Graceful shutdown failed, forcing restart: ${err}`);
286286
await this.client.start();
287287
}
288+
this.isInitialized = true;
289+
this.initializedEventEmitter.fire();
288290
return true;
289291
}
290292

0 commit comments

Comments
 (0)