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

fix(oom): Disable out-of-memory reporting in debug mode #380

Merged
merged 2 commits into from
Jul 15, 2019

Conversation

kattrali
Copy link
Contributor

Goal

Remove erroneous out-of-memory reports during development if reporting is enabled in debug mode. Since running the app via Xcode/simctl terminates the existing app launch session with a kill signal, no cleanup can be performed and the app state would indicate that a possible OOM may have occurred.

Changeset

  • Disables reportOOMs if in DEBUG mode.

Tests

  • Tested manually and by updating the end-to-end tests

@bugsnag bugsnag deleted a comment from codecov bot Jul 11, 2019
@bugsnag bugsnag deleted a comment from codecov bot Jul 11, 2019
@kattrali kattrali merged commit db32545 into master Jul 15, 2019
@kattrali kattrali deleted the kattrali/oom-disable-debug branch July 15, 2019 10:44
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.

None yet

2 participants