From e324d1edab22ed45e38aaf028b1af51460892151 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 25 Feb 2011 13:10:45 -0800 Subject: [PATCH] Add _trace() debugging for yieldToSelector: run loop. --- MobileCydia.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MobileCydia.mm b/MobileCydia.mm index 0ca3ebbb..da8ef753 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -320,7 +320,9 @@ static _finline void UpdateExternalStatus(uint64_t newStatus) { NSDate *future([NSDate distantFuture]); NSString *mode([loop currentMode] ?: NSDefaultRunLoopMode); +_trace(); while (!stopped && [loop runMode:mode beforeDate:future]); +_trace(); return [context count] == 0 ? nil : [context objectAtIndex:0]; } -- 2.45.2