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

Remove _release code that's duplicated 19 times. #590

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

fyellin
Copy link
Contributor

@fyellin fyellin commented Sep 18, 2024

Remove all the duplicate _release code to its superclass
Add some comments.

Sorry for this rush of PRs. I had a 14-hour plane flight and couldn't sleep.

@fyellin fyellin requested a review from Korijn as a code owner September 18, 2024 02:32
Copy link
Member

@almarklein almarklein left a comment

Choose a reason for hiding this comment

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

Sorry for this rush of PRs. I had a 14-hour plane flight and couldn't sleep.

😆

Nice use of the mechanism you introduced earlier! I double-checked all the names. I was not even aware that all objects have a (working) release function now (this was not always the case)!

@almarklein almarklein merged commit dfa41d8 into pygfx:main Sep 18, 2024
23 checks passed
@fyellin fyellin deleted the simpler_release branch September 18, 2024 13:21
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