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

Handle file descriptor properly #86

Merged
merged 2 commits into from
Jan 16, 2025
Merged

Handle file descriptor properly #86

merged 2 commits into from
Jan 16, 2025

Conversation

naveensingh
Copy link
Member

@naveensingh naveensingh commented Jan 16, 2025

What is it?

  • Bugfix
  • Feature
  • Codebase improvement

Description of the changes in your PR

  • Use ParcelFileDescriptor.dup() to create a duplicate FD.
  • Close resource properly using use

Fixes the following issue(s)

Acknowledgement

@naveensingh naveensingh merged commit 2b08af1 into master Jan 16, 2025
4 of 6 checks passed
@naveensingh naveensingh deleted the fix-fd-invalidation branch January 16, 2025 17:37
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.

Recordings are not as long as they should be
1 participant