Commit a907f6d4 authored by A. Wilcox's avatar A. Wilcox

iUI: DashboardVC: Cancel operations when other objects are released.

This prevents a very hard-to-duplicate but still-possible bug: if another tab is tapped and
a memory warning occurs while the dashboard is still loading, the next account load will
cause DashboardVC to attempt to update accountTables, which is released.
parent 6f9b2f9d
......@@ -830,6 +830,7 @@ extern double MobileAuctionsVersionNumber;
[eBayActions release];
[etsyActions release];
[sectionTitles release];
[opQueue cancelAllOperations];
}
-(void)didReceiveMemoryWarning
......@@ -845,7 +846,6 @@ extern double MobileAuctionsVersionNumber;
free([infoPtr pointerValue]);
[lastUpdatedTimes release];
[accountInfos release];
[opQueue cancelAllOperations];
[opQueue release];
[super dealloc];
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment