I have based my project on Scaffold template, and found a bug which I do not know how to solve.
After testing, I found the same error occurs for the Scaffold project without modifications.
Testing on iPad Mini Retina.
ARC @autoreleasepool throws an error every time when I close the app on a device after it has been minimized. If the app is closed while multitasking without minimising, there is no error. Error occurs only when first minimizing, then closing in multitasking.
Device error logs show that the app had been terminated, because it took too long to close it self.
How to solve this problem, and have anyone else had this error?