Skip to content

Commit

Permalink
Updating C# Examples: Interrupt
Browse files Browse the repository at this point in the history
  • Loading branch information
metadings committed Jan 26, 2015
1 parent 79b93c8 commit 7bbac76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/C#/interrupt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public static void Interrupt(IDictionary<string, string> dict, string[] args)
{
Console.CancelKeyPress += (s, ea) =>
{
ea.Cancel = true;
context.Shutdown();
};

Expand Down

0 comments on commit 7bbac76

Please sign in to comment.