From e7ff015817107dbac9373c19ce851178e4f3c791 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 21 Jan 2014 03:35:29 -0800 Subject: [PATCH] Provide some kind of feedback while running ?gc. --- Console.cpp | 2 ++ 1 file changed, 2 insertions(+) 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") { -- 2.47.2