Index: src/debug/debug.cc |
diff --git a/src/debug/debug.cc b/src/debug/debug.cc |
index 2c763915bd451bc9f55f9dbc9d07b805fb4971a8..4f1e373977f1d1a482e22d18edf0bd0176c90e1a 100644 |
--- a/src/debug/debug.cc |
+++ b/src/debug/debug.cc |
@@ -1560,8 +1560,8 @@ void Debug::RemoveDebugInfoAndClearFromShared(Handle<DebugInfo> debug_info) { |
} else { |
prev->set_next(current->next()); |
} |
+ shared->set_debug_info(Smi::FromInt(debug_info->debugger_hints())); |
delete current; |
- shared->set_debug_info(DebugInfo::uninitialized()); |
return; |
} |
// Move to next in list. |