Content-Length: 239995 | pFad | http://github.com/adafruit/circuitpython/pull/10190

29 Add guards to common_hal_pulseio_pulse(in|out)_deinit to prevent doub… by eightycc · Pull Request #10190 · adafruit/circuitpython · GitHub
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

Add guards to common_hal_pulseio_pulse(in|out)_deinit to prevent doub… #10190

Merged
merged 1 commit into from
Mar 27, 2025

Conversation

eightycc
Copy link
Collaborator

Add guards to common_hal_pulseio_pulsein_deinit() and common_hal_pusleio_pusleout_deinit() to prevent double release of the pulseio_pulse(in|out) object's resources.

Fixed same issue in pulseout.

Resolves #10004.

@eightycc eightycc requested a review from dhalbert March 27, 2025 16:37
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

Excellent - thank yoU!

@dhalbert dhalbert merged commit 98cfac4 into adafruit:9.2.x Mar 27, 2025
238 checks passed
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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/adafruit/circuitpython/pull/10190

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy