Update SharpIdeCodeEdit.cs

This commit is contained in:
Matt Parker
2025-08-25 22:41:49 +10:00
parent 9b506cd48b
commit 0a23a9ffb6

View File

@@ -251,9 +251,11 @@ public partial class SharpIdeCodeEdit : CodeEdit
var godotLine = _executionStopInfo.Line - 1; var godotLine = _executionStopInfo.Line - 1;
SetLineAsExecuting(godotLine, false); SetLineAsExecuting(godotLine, false);
SetLineColour(godotLine); SetLineColour(godotLine);
var threadId = _executionStopInfo.ThreadId;
_executionStopInfo = null;
_ = GodotTask.Run(async () => _ = GodotTask.Run(async () =>
{ {
await Singletons.RunService.SendDebuggerStepOver(_executionStopInfo.ThreadId); await Singletons.RunService.SendDebuggerStepOver(threadId);
}); });
} }