diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-23 03:01:47 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-23 03:01:47 -0800 |
commit | 848ed88bcb2bae41ce2b40a2e8d3cba1920e9549 (patch) | |
tree | 3947c1068a58244f26ef7591a927ec25f343a3e7 /MobileCydia.mm | |
parent | 8e3b68d4629fe84dd0cb0ee08c45d1037e8a0d3a (diff) |
Debugging aid for {retain,release}NetworkActivityIndicator.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 948bb60..8227e35 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -8991,11 +8991,20 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { - (void) retainNetworkActivityIndicator { if (activity_++ == 0) [self setNetworkActivityIndicatorVisible:YES]; + +#if TraceLogging + NSLog(@"retainNetworkActivityIndicator->%d", activity_); +#endif } - (void) releaseNetworkActivityIndicator { if (--activity_ == 0) [self setNetworkActivityIndicatorVisible:NO]; + +#if TraceLogging + NSLog(@"releaseNetworkActivityIndicator->%d", activity_); +#endif + } - (void) cancelAndClear:(bool)clear { |