Skip to content

Commit 0d9237c

Browse files
committed
Merge pull request #104050 from ydeltastar/fix-debugger-leak
Fix debugger's memory leak when project closes itself
2 parents 9b5221a + ddb94b9 commit 0d9237c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

editor/debugger/debug_adapter/debug_adapter_protocol.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,7 @@ void DebugAdapterProtocol::on_debug_paused() {
10341034
void DebugAdapterProtocol::on_debug_stopped() {
10351035
notify_exited();
10361036
notify_terminated();
1037+
reset_ids();
10371038
}
10381039

10391040
void DebugAdapterProtocol::on_debug_output(const String &p_message, int p_type) {

0 commit comments

Comments
 (0)