X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/c1d3e52e58e86c49f9d04e06ae8e0ece4b98250c..def9084602162fbc6081fadd247ad50a78ad0bce:/Console.cpp diff --git a/Console.cpp b/Console.cpp index 9e84912..a7e0929 100644 --- a/Console.cpp +++ b/Console.cpp @@ -85,7 +85,8 @@ static void sigint(int) { case Parsing: longjmp(ctrlc_, 1); case Running: - throw "*** Ctrl-C"; + CYCancel(); + return; case Sending: return; case Waiting: