提交 381f6e18 编写于 作者: M Manish Jayaswal

Merge pull request #4804 from ManishJayaswal/ETAFailure

fixes issue #4802
......@@ -555,7 +555,9 @@ public async Task SubmitAsync()
var executionResult = await _window._evaluator.ExecuteCodeAsync(snapshotSpan.GetText()).ConfigureAwait(true);
Debug.Assert(_window.OnUIThread()); // ConfigureAwait should bring us back to the UI thread.
Debug.Assert(State == State.ExecutingInput || State == State.Resetting, $"Unexpected state {State}");
// For reset command typed at prompt, the state should be WaitingForInput
// and for all other submissions it should be Executing input
Debug.Assert(State == State.ExecutingInput || State == State.WaitingForInput, $"Unexpected state {State}");
if (State == State.ExecutingInput)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册