Skip to content

Commit f6b3a0a

Browse files
committed
fixer a crash when validateLayout got called after teardown.
1 parent a56016b commit f6b3a0a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

SIAlertView/SIAlertView.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,7 @@ - (void)teardown
776776
[self.buttons removeAllObjects];
777777
[self.alertWindow removeFromSuperview];
778778
self.alertWindow = nil;
779+
self.layoutDirty = NO;
779780
}
780781

781782
- (void)setupContainerView

0 commit comments

Comments
 (0)