Reviewers: Sven Panne,

Description:
Delete socket connection after debugger input loop ends.

[email protected]
BUG=v8:3193

Please review this at https://codereview.chromium.org/198073004/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -0 lines):
  M src/d8-debug.cc


Index: src/d8-debug.cc
diff --git a/src/d8-debug.cc b/src/d8-debug.cc
index 2c909fa7622703421f0960c9b82eb2fbe26ca07e..7eb2016bd330cd6fb403558f119507a0c9164987 100644
--- a/src/d8-debug.cc
+++ b/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();
 }


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to