diff --git a/static/js/components/app-main/index.js b/static/js/components/app-main/index.js index d13ceb3..164aa61 100644 --- a/static/js/components/app-main/index.js +++ b/static/js/components/app-main/index.js @@ -93,6 +93,7 @@ function closeXTerm(name){ if (runtime) { runtime.worker.port.postMessage({ action: 'close', name: name }); + runtime.worker.port.close(); delete AppRuntime[name]; }