Skip to content

Commit

Permalink
Fixed m1entus#164 (Memory Leak issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
asifbilal786 authored Nov 26, 2018
1 parent 6f4b7c8 commit 7c640e9
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 7c640e9

Please sign in to comment.