Remove NSException from RiotShareExtension

Fix some retain cycles and early releases.
This commit is contained in:
Doug
2022-03-11 14:59:57 +00:00
committed by Doug
parent 4e4961d898
commit 00c6a631e8
3 changed files with 12 additions and 8 deletions
@@ -99,10 +99,6 @@
{
[self dismissViewControllerAnimated:true completion:^{
[self.presentingViewController dismissViewControllerAnimated:false completion:nil];
// FIXME: Share extension memory usage increase when launched several times and then crash due to some memory leaks.
// For now, we force the share extension to exit and free memory.
[NSException raise:@"Kill the app extension" format:@"Free memory used by share extension"];
}];
}