mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 15:22:39 +00:00
Merge pull request #1744 from vector-im/share_extension_crash
Share Extension: Fix crash on a weak self
This commit is contained in:
commit
bb86584957
1 changed files with 1 additions and 0 deletions
|
@ -219,6 +219,7 @@ typedef NS_ENUM(NSInteger, ImageCompressionMode)
|
|||
{
|
||||
if (weakSelf)
|
||||
{
|
||||
typeof(self) self = weakSelf;
|
||||
itemProvider.isLoaded = YES;
|
||||
[self.pendingImages addObject:imageData];
|
||||
|
||||
|
|
Loading…
Reference in a new issue