Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
mikem8361 committed Feb 22, 2019
1 parent 0ed81bf commit 52d2ca1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Microsoft.Diagnostic.Repl/Console/ConsoleProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,6 @@ public void WriteLine(OutputType type, string format, params object[] parameters
/// <exception cref="OperationCanceledException">ctrl-c interrupted the command</exception>
public void WriteOutput(OutputType type, string message)
{
if (m_interruptExecutingCommand != null) {
m_interruptExecutingCommand.Token.ThrowIfCancellationRequested();
}
switch (type)
{
case OutputType.Normal:
Expand Down Expand Up @@ -400,6 +397,7 @@ private async Task Dispatch(string newCommand, Func<string, CancellationToken, T
catch (OperationCanceledException)
{
// ctrl-c interrupted the command
m_lastCommandLine = null;
}
catch (Exception ex) when (!(ex is NullReferenceException || ex is ArgumentNullException))
{
Expand Down

0 comments on commit 52d2ca1

Please sign in to comment.