From da07e791ec91a1c7042d84bc9bef631b8779e080 Mon Sep 17 00:00:00 2001 From: Chris Brown Date: Tue, 1 Dec 2015 13:57:03 +0000 Subject: [PATCH] Fixed error in Windows when server is restarted then the run button is clicked in the output pane from a previous run. --- node_modules/vfs-local/localfs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node_modules/vfs-local/localfs.js b/node_modules/vfs-local/localfs.js index 6885fefa..68b50bdf 100644 --- a/node_modules/vfs-local/localfs.js +++ b/node_modules/vfs-local/localfs.js @@ -2094,7 +2094,7 @@ module.exports = function setup(fsOptions) { // Kill the session with the same name before starting a new one if (options.kill) { session = sessions[options.session]; - if (session) + if (session && session.pty) session.pty.kill(); if (!options.command)