Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DialogModule crash fixes. #19332

Closed

Conversation

dryganets
Copy link
Contributor

I'm trying to fix DialogModule crashes we have in production: #6228

In this PR I'm fixing the following problem:

The fragment manager methods should be called only from the foreground. Now dismissExisting is protected by the mIsForeground variable as well as showNewAlert method.

Test Plan

Make sure that dialogs work after this change.

Release Notes

[ANDROID] [BUGFIX] [DialogModule] - Race condition in dialog module fixed.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 17, 2018
@dryganets dryganets force-pushed the sergeyd/dialog-module-fix branch from 16ce65e to c4a4c20 Compare May 17, 2018 17:56
@facebook-github-bot
Copy link
Contributor

@dryganets I tried to find reviewers for this pull request and wanted to ping them to take another look. However, based on the blame information for the files in this pull request I couldn't find any reviewers. This sometimes happens when the files in the pull request are new or don't exist on master anymore. Is this pull request still relevant? If yes could you please rebase? In case you know who has context on this code feel free to mention them in a comment (one person is fine). Thanks for reading and hope you will continue contributing to the project.

@dryganets dryganets force-pushed the sergeyd/dialog-module-fix branch from c4a4c20 to 932d92c Compare June 20, 2018 01:36
@facebook-github-bot
Copy link
Contributor

@dryganets I tried to find reviewers for this pull request and wanted to ping them to take another look. However, based on the blame information for the files in this pull request I couldn't find any reviewers. This sometimes happens when the files in the pull request are new or don't exist on master anymore. Is this pull request still relevant? If yes could you please rebase? In case you know who has context on this code feel free to mention them in a comment (one person is fine). Thanks for reading and hope you will continue contributing to the project.

@webdevbyjoss
Copy link

webdevbyjoss commented Jan 22, 2019

@dryganets hey, I'm facing these crashes in a DialogModule on React Native v57. We didn't had this addressed yet in the latest RN version, aren't we? Shall we update this PR and merge it?

@dryganets dryganets force-pushed the sergeyd/dialog-module-fix branch from 932d92c to ddd10f3 Compare January 22, 2019 19:45
@pull-bot
Copy link

Warnings
⚠️

📋 Changelog - This PR appears to be missing Changelog.

Generated by 🚫 dangerJS

@dryganets
Copy link
Contributor Author

@webdevbyjoss, I updated the PR. It fixes the problem for us.

@hramos, could you take a look?

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@hramos has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Collaborator

@dryganets merged commit 9df892c into facebook:master.

@facebook facebook locked as resolved and limited conversation to collaborators Feb 12, 2019
@react-native-bot react-native-bot added the Merged This PR has been merged. label Feb 12, 2019
@elicwhite elicwhite added p: Microsoft Partner: Microsoft Partner and removed Partner p: Microsoft Partner: Microsoft labels Jul 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Microsoft Partner: Microsoft Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants