From: Jay Freeman (saurik) Date: Tue, 21 Jan 2014 11:35:29 +0000 (-0800) Subject: Provide some kind of feedback while running ?gc. X-Git-Tag: v0.9.500~17 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/e7ff015817107dbac9373c19ce851178e4f3c791 Provide some kind of feedback while running ?gc. --- diff --git a/Console.cpp b/Console.cpp index fdff81c..c2c46f9 100644 --- a/Console.cpp +++ b/Console.cpp @@ -500,7 +500,9 @@ static void Console(CYOptions &options) { } else if (data == "destroy") { CYDestroyContext(); } else if (data == "gc") { + *out_ << "collecting... " << std::flush; CYGarbageCollect(CYGetJSContext()); + *out_ << "done." << std::endl; } else if (data == "exit") { return; } else if (data == "expand") {