Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 490bdb9786b00608f373079d30f451e12dbf3cdb..06df1f67c25bc380097c2cc8ca471105ec65b071 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1546,6 +1546,8 @@ void Isolate::Deinit() { |
if (state_ == INITIALIZED) { |
TRACE_ISOLATE(deinit); |
+ debugger()->UnloadDebugger(); |
+ |
if (concurrent_recompilation_enabled()) { |
optimizing_compiler_thread_->Stop(); |
delete optimizing_compiler_thread_; |