From ddb94b9e9d9e6ea5632df863d3f023f678ad1f5c Mon Sep 17 00:00:00 2001 From: ydeltastar Date: Wed, 12 Mar 2025 16:46:23 -0300 Subject: [PATCH] Fix debugger's memory leak when project closes itself --- editor/debugger/debug_adapter/debug_adapter_protocol.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/debugger/debug_adapter/debug_adapter_protocol.cpp b/editor/debugger/debug_adapter/debug_adapter_protocol.cpp index 3ee4899be23..4d64d0d75dd 100644 --- a/editor/debugger/debug_adapter/debug_adapter_protocol.cpp +++ b/editor/debugger/debug_adapter/debug_adapter_protocol.cpp @@ -1034,6 +1034,7 @@ void DebugAdapterProtocol::on_debug_paused() { void DebugAdapterProtocol::on_debug_stopped() { notify_exited(); notify_terminated(); + reset_ids(); } void DebugAdapterProtocol::on_debug_output(const String &p_message, int p_type) {