Skip to content

Commit

Permalink
Merge pull request #58 from ironmansoftware/startup2
Browse files Browse the repository at this point in the history
Fix reconnection logic
  • Loading branch information
adamdriscoll authored Jul 7, 2024
2 parents 14875da + 1af3c62 commit a1b8d4f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion vscode/powershellprotools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "powershellprotools",
"displayName": "PowerShell Pro Tools",
"description": "Powerful extensions for PowerShell development.",
"version": "2024.7.2",
"version": "2024.7.3",
"publisher": "ironmansoftware",
"repository": {
"type": "git",
Expand Down
5 changes: 0 additions & 5 deletions vscode/powershellprotools/src/services/powershellservice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ export class PowerShellService {
}

Reconnect(callback) {
if (this.status === SessionStatus.Initializing) {
Container.Log("Already trying to reconnect.");
return;
}

this.reconnectDepth++;
this.setSessionStatus(SessionStatus.Initializing);
this.logger?.destroy();
Expand Down

0 comments on commit a1b8d4f

Please sign in to comment.