Skip to content

Commit

Permalink
fix gitpod-io#3797: [code] reconnect to the extension host
Browse files Browse the repository at this point in the history
  • Loading branch information
akosyakov committed Apr 8, 2021
1 parent d2e50e5 commit cb894a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/ide/code/leeway.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN sudo apt-get update \
&& sudo apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

ENV GP_CODE_COMMIT a752a8a6ceb43b9add71c7d68f56b0acbdd5dcb7
ENV GP_CODE_COMMIT e3ac4478d45fb75589b8fe975ddba55ca1559948
RUN mkdir gp-code \
&& cd gp-code \
&& git init \
Expand Down
5 changes: 5 additions & 0 deletions components/supervisor/frontend/src/ide/ide-web-socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ class IDEWebSocket extends ReconnectingWebSocket {
this.reconnect();
}
}
static disconnectWorkspace(): void {
for (const socket of workspaceSockets) {
socket.close();
}
}
}

export function install(): void {
Expand Down

0 comments on commit cb894a0

Please sign in to comment.