Skip to content

Commit

Permalink
Passively block execution instead of actively delaying
Browse files Browse the repository at this point in the history
  • Loading branch information
evandixon committed Sep 25, 2018
1 parent efb8d32 commit ea52cda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Ditto/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public static async Task Main(string[] args)
while (true)
{
// Block until process is manually stopped
await Task.Delay(int.MaxValue);
}
}
else
Expand Down

0 comments on commit ea52cda

Please sign in to comment.