Programming in objective-c: Asynchronous Callbacks to Dismissed Viewcontrollers? on newest questions tagged objective-c – Stack Overflow
Have noticed issue while testing iphone app that if one quickly opens/dismisses a modal view which contains asynchronous http calls the app eventually freezes up with a EXC_BAD_ACCESS message. I’m relatively confident that there aren’t any memory leaks in either the modal view or the viewcontroller that’s launching it (at least none that I can find via the leak detection tool in xcode). My n00b mind wonders what happens with pending asynchronous callbacks when all of a sudden the view has been dismissed. Is this something I should be concerned about, or does the iPhone OS handle this for me?
source: http://stackoverflow.com/questions/3479621/asynchronous-callbacks-to-dismissed-viewcontrollers
Programming in objective-c: programming-in-objective-c
Recent Comments