summaryrefslogtreecommitdiff
path: root/deps/v8/src/d8-debug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/d8-debug.cc')
-rw-r--r--deps/v8/src/d8-debug.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/v8/src/d8-debug.cc b/deps/v8/src/d8-debug.cc
index 2c909fa76..7eb2016bd 100644
--- a/deps/v8/src/d8-debug.cc
+++ b/deps/v8/src/d8-debug.cc
@@ -217,6 +217,8 @@ void RemoteDebugger::Run() {
delete event;
}
+ delete conn_;
+ conn_ = NULL;
// Wait for the receiver thread to end.
receiver.Join();
}