Forráskód Böngészése

Fix debugger's memory leak when project closes itself

ydeltastar 5 hónapja
szülő
commit
ddb94b9e9d

+ 1 - 0
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) {