summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-25 13:10:45 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:20 -0800
commite324d1edab22ed45e38aaf028b1af51460892151 (patch)
tree41c132f490f8426e81bbd0111e406f4b3b5b117a
parent43c5d1cb7606bed0b0764683142b4dc08b289cf7 (diff)
Add _trace() debugging for yieldToSelector: run loop.
-rw-r--r--MobileCydia.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 0ca3ebb..da8ef75 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];
}