Seeing a iOS 11 only crash on the line when nil out a timer. Did not see this in iOS 10.
if (timerIsSuspended) {
dispatch_resume(_myTimer); //balance suspend and resume calls
}
dispatch_source_cancel(_myTmer);
_myTimer = nil; //EXC_BREAKPOINT / EXC_ARM_BREAKPOINT in _dispatch_queue_xref_dispose
Saw an old thread from 2015 where we should actually call resume after cancel. Is this now enforced in iOS 11?
https://forums.developer.apple.com/message/46175#46175
Or wait to nil the timer in a cancellation handler? This code is in dealloc.