summaryrefslogtreecommitdiff
path: root/extension/src/debugPanel.ts
diff options
context:
space:
mode:
authorNate Sesti <33237525+sestinj@users.noreply.github.com>2023-08-06 22:54:51 -0700
committerGitHub <noreply@github.com>2023-08-06 22:54:51 -0700
commit74005855304412f0401e29c83c166e99a8ab0944 (patch)
tree4e8ddb61fd52068e839ca4ccab268e013405d545 /extension/src/debugPanel.ts
parenta0d3f29ee237484c66b0efe243c79d902f2da993 (diff)
parent8ada89b0f66f9e746394ee64591359537fe0c7f0 (diff)
downloadsncontinue-74005855304412f0401e29c83c166e99a8ab0944.tar.gz
sncontinue-74005855304412f0401e29c83c166e99a8ab0944.tar.bz2
sncontinue-74005855304412f0401e29c83c166e99a8ab0944.zip
Merge pull request #351 from continuedev/history
Session History
Diffstat (limited to 'extension/src/debugPanel.ts')
-rw-r--r--extension/src/debugPanel.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/extension/src/debugPanel.ts b/extension/src/debugPanel.ts
index b687c3e4..d133080b 100644
--- a/extension/src/debugPanel.ts
+++ b/extension/src/debugPanel.ts
@@ -221,6 +221,15 @@ export function setupDebugPanel(
}
break;
}
+ case "websocketForwardingClose": {
+ let url = data.url;
+ let connection = websocketConnections[url];
+ if (typeof connection !== "undefined") {
+ connection.close();
+ websocketConnections[url] = undefined;
+ }
+ break;
+ }
case "websocketForwardingMessage": {
let url = data.url;
let connection = websocketConnections[url];