Skip to content

Commit

Permalink
Merge pull request #1 from asifbilal786/asifbilal786-patch-1
Browse files Browse the repository at this point in the history
Fixed m1entus#164 (Memory Leak issue)
  • Loading branch information
asifbilal786 authored Nov 26, 2018
2 parents 6f4b7c8 + 7c640e9 commit 01483ec
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,9 @@ - (void)setupBackgroundBlurView {

#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
if ([UIViewPropertyAnimator class]) {
__weak MZFormSheetPresentationController *weakSelf = self;
self.propertyAnimator = [[UIViewPropertyAnimator alloc] initWithDuration:1.0 curve:UIViewAnimationCurveLinear animations:^{
self.blurBackgroundView.effect = nil;
weakSelf.blurBackgroundView.effect = nil;
}];
}
#endif
Expand Down

0 comments on commit 01483ec

Please sign in to comment.