1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Fix debugger's memory leak when project closes itself

This commit is contained in:
ydeltastar
2025-03-12 16:46:23 -03:00
parent 49cc57a75d
commit ddb94b9e9d

View File

@@ -1034,6 +1034,7 @@ void DebugAdapterProtocol::on_debug_paused() {
void DebugAdapterProtocol::on_debug_stopped() { void DebugAdapterProtocol::on_debug_stopped() {
notify_exited(); notify_exited();
notify_terminated(); notify_terminated();
reset_ids();
} }
void DebugAdapterProtocol::on_debug_output(const String &p_message, int p_type) { void DebugAdapterProtocol::on_debug_output(const String &p_message, int p_type) {