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 crash when exporting HAR file #299

Merged
merged 1 commit into from
Oct 4, 2024
Merged

Fix crash when exporting HAR file #299

merged 1 commit into from
Oct 4, 2024

Conversation

rounak
Copy link
Contributor

@rounak rounak commented Oct 4, 2024

The crash was happening because we were accessing main context from a background thread.

Fixed it by passing backgroundContext when fetching entities from Core Data.

Screenshot of the crash:
Screenshot 2024-10-04 at 10 47 19 AM

HAR export after the fix succeeding:
/~https://github.com/user-attachments/assets/07e6025d-895a-4706-980c-651c80d0fb7f

@cam-openai
Copy link

Ty!

@kean kean merged commit efac97a into kean:main Oct 4, 2024
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.

3 participants