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

Patch RCTFont.mm to fix crash #1268

Merged
merged 1 commit into from
Mar 5, 2019
Merged

Patch RCTFont.mm to fix crash #1268

merged 1 commit into from
Mar 5, 2019

Conversation

paullinator
Copy link
Member

This commit implements the following PR as a patch to RCTFont.mm.
facebook/react-native#22607

This is an attempt at fixing a high count Bugsnag reported crash which has a profile similar to
facebook/react-native#13588

PR Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS Tablet
  • Tested on small Android
  • n/a

This commit implements the following PR as a patch to RCTFont.mm.
facebook/react-native#22607

This is an attempt at fixing a high count Bugsnag reported crash which has a profile similar to
facebook/react-native#13588
Copy link
Contributor

@swansontec swansontec left a comment

Choose a reason for hiding this comment

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

Wow. Ok, yeah, based on the linked discussion this makes sense, but in a really bad way. The cleanup order is all screwed up in native code, so we leak the mutex to keep it alive forever, rather than try to clean it up at all. That will certainly do the trick!

@paullinator paullinator merged commit a472edd into develop Mar 5, 2019
@swansontec swansontec deleted the paul/patchRctFont branch April 27, 2019 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants