Memory warning handling.

Memory warnings are now handled by 'MXKRoomDataSourceManager' instance to reload unused data source.
It is not required to reload all matrix sessions on memory warning.
This commit is contained in:
giomfo
2015-10-30 18:09:02 +01:00
parent 2ba65cd4a2
commit 4a17e1944e
@@ -107,7 +107,10 @@
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
[[AppDelegate theDelegate] reloadMatrixSessions:NO];
// Memory warnings are now handled by 'MXKRoomDataSourceManager' instance to reload unused data source.
// It is not required to reload all matrix sessions here
// [[AppDelegate theDelegate] reloadMatrixSessions:NO];
}
- (void)dealloc