Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: memory leak in bidi classes#770

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
parthea merged 3 commits intomainfromfix_mem_leak
Jan 22, 2025
Merged

fix: memory leak in bidi classes#770

parthea merged 3 commits intomainfromfix_mem_leak
Jan 22, 2025

Conversation

daniel-sanche
Copy link
Contributor

Fixes#769

@product-auto-labelproduct-auto-labelbot added the size: sPull request size is small. labelDec 16, 2024
@@ -717,6 +719,7 @@ def stop(self):
_LOGGER.warning("Background thread did not exit.")

self._thread = None
self._on_response = None
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

This assumes you can't restart an instance after it has been stopped. The test cases and docstrings point to that being the case, but it's not completely clear

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this is a reasonable assumption given that resources should be cleaned up whenclose is called. Regardless, we'll publish a pre-release to get feedback on this change before publishing a normal release.

@@ -717,6 +719,7 @@ def stop(self):
_LOGGER.warning("Background thread did not exit.")

self._thread = None
self._on_response = None
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this is a reasonable assumption given that resources should be cleaned up whenclose is called. Regardless, we'll publish a pre-release to get feedback on this change before publishing a normal release.

@partheaparthea merged commitc1b8afa intomainJan 22, 2025
42 checks passed
@partheaparthea deleted the fix_mem_leak branchJanuary 22, 2025 21:46
@parthea
Copy link
Collaborator

Thanks@daniel-sanche !

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@partheapartheaparthea approved these changes

Assignees

@partheaparthea

Labels
size: sPull request size is small.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Memory leak in bidi resources
2 participants
@daniel-sanche@parthea

[8]ページ先頭

©2009-2025 Movatter.jp