Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix broken prompt (PSIC) on F5
  • Loading branch information
SeeminglyScience committed Apr 26, 2022
commit c349bafc12818a10a74cd7b9f85e2985d23ed4cb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using System;
Expand Down Expand Up @@ -739,6 +739,11 @@ private void DoOneRepl(CancellationToken cancellationToken)
StopDebugContext();
}

if (cancellationToken.IsCancellationRequested)
{
return;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LMAO it did need this?!

}

// When a task must run in the foreground, we cancel out of the idle loop and return to the top level.
// At that point, we would normally run a REPL, but we need to immediately execute the task.
// So we set _skipNextPrompt to do that.
Expand Down