Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzhang committed Jun 17, 2019
1 parent b390b14 commit a83b80d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions neo-cli/Shell/MainService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -973,8 +973,7 @@ private bool OnShowStateCommand(string[] args)
});
Console.ReadLine();
cancel.Cancel();
task.Wait();
broadcast.Wait();
Task.WaitAll(task, broadcast);
Console.WriteLine();
Console.CursorVisible = true;
return true;
Expand Down

0 comments on commit a83b80d

Please sign in to comment.