Reviewers: Hannes Payer,

Description:
Unload debugger on isolate deinit.

[email protected]
BUG=

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

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

Affected files:
  M src/isolate.cc


Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index 9c5cafbdecaf34e45cff37f77487d711df08fa70..cf0f3b38aebcbffaad32b1c70e4bdf8977e4b2ca 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -1877,6 +1877,10 @@ void Isolate::Deinit() {
   if (state_ == INITIALIZED) {
     TRACE_ISOLATE(deinit);

+#ifdef ENABLE_DEBUGGER_SUPPORT
+    debugger()->UnloadDebugger();
+#endif
+
     if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Stop();

     if (FLAG_sweeper_threads > 0) {


--
--
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/groups/opt_out.


Reply via email to