Skip to content

Fix a leak when the last accessed module in multidict init is not released#1061

Merged
asvetlov merged 3 commits intomasterfrom
refactor
Mar 16, 2025
Merged

Fix a leak when the last accessed module in multidict init is not released#1061
asvetlov merged 3 commits intomasterfrom
refactor

Conversation

@asvetlov
Copy link
Copy Markdown
Member

Previously, the last accessed module (multidict._multidict_base actually) was not released and a reference to it was leaked.
It was not a big problem generally if multidict was not reloaded using Python code.
Anyway, cleaner code is better.

@psf-chronographer psf-chronographer Bot added the bot:chronographer:provided There is a change note present in this PR label Mar 16, 2025
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Mar 16, 2025

CodSpeed Performance Report

Merging #1061 will not alter performance

Comparing refactor (ed68966) with master (14cf766)

Summary

✅ 38 untouched benchmarks

@asvetlov asvetlov merged commit f893493 into master Mar 16, 2025
@asvetlov asvetlov deleted the refactor branch March 16, 2025 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided There is a change note present in this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant