From ef53221368e77f43cb7512c1d2f14f784c25892a Mon Sep 17 00:00:00 2001 From: David Marby Date: Thu, 23 Nov 2017 21:51:18 +0100 Subject: [PATCH] Don't attempt to connect to dlv on stderr output (#1354) --- src/debugAdapter/goDebug.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/debugAdapter/goDebug.ts b/src/debugAdapter/goDebug.ts index e05f476a6..17d47022f 100644 --- a/src/debugAdapter/goDebug.ts +++ b/src/debugAdapter/goDebug.ts @@ -327,10 +327,6 @@ class Delve { this.debugProcess.stderr.on('data', chunk => { let str = chunk.toString(); if (this.onstderr) { this.onstderr(str); } - if (!serverRunning) { - serverRunning = true; - connectClient(port, host); - } }); this.debugProcess.stdout.on('data', chunk => { let str = chunk.toString();