]> git.saurik.com Git - cycript.git/blobdiff - Console.cpp
On Mac OS X, detect -framework JavaVM for CY_JAVA.
[cycript.git] / Console.cpp
index 9e84912f8a9b2b6e6d8b2bbd674fe1ac6b14338b..a7e09291d52632dda885b37df8f385fb436bf722 100644 (file)
@@ -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: