Skip to content

Commit

Permalink
fix: workaround to fix ramdom crashes when centerWindow is called
Browse files Browse the repository at this point in the history
I think it can help to workarround

viezel#229
viezel#221
viezel#213
  • Loading branch information
klebeer committed Jun 27, 2020
1 parent 59c9e2c commit 83f4d44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,10 @@ -(void)setCenterViewController:(UIViewController *)centerViewController animated
if(animated == NO){
[oldCenterViewController beginAppearanceTransition:NO animated:NO];
}
[oldCenterViewController removeFromParentViewController];
[oldCenterViewController.view removeFromSuperview];

//[oldCenterViewController removeFromParentViewController];
//[oldCenterViewController.view removeFromSuperview];

if(animated == NO){
[oldCenterViewController endAppearanceTransition];
}
Expand Down
2 changes: 1 addition & 1 deletion ios/titanium.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// OF YOUR TITANIUM SDK YOU'RE BUILDING FOR
//
//
TITANIUM_SDK_VERSION = 7.0.1.GA
TITANIUM_SDK_VERSION = 7.5.0.GA


//
Expand Down

1 comment on commit 83f4d44

@qasim90
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would have been better to add a compiled binary as well :)

Please sign in to comment.