Closed marksands closed 11 years ago
Actually this might be problematic if stopMonitoring
(which BTW, if it's not called, objects of this class leak for ever) isn't called from the main thread. See this Stackoverflow question.
NSTimer
:arrow_right: MSWeakTimer
:shipit:
In
ZincActivityMonitor.m
, if therefreshTimer
is not set on the main thread, it won't fire. I found this out the hard way.I wrapped it in a dispatch_async block, but feel free to use a better solution.