X Tutup
The Wayback Machine - https://web.archive.org/web/20221207034327/https://github.com/python/cpython/pull/99973
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

[3.11] bpo-40882: Fix a memory leak in SharedMemory on Windows (GH-20684) #99973

Merged
merged 1 commit into from Dec 5, 2022

Conversation

lukegarland
Copy link

@lukegarland lukegarland commented Dec 3, 2022

This is a backport to Python 3.11 for bpo-40882: Fix a memory leak in SharedMemory on Windows (#20684)

In multiprocessing.shared_memory.SharedMemory(), the temporary view
returned by MapViewOfFile() should be unmapped when it is no longer
needed.

(cherry picked from commit 85c128e)
@lukegarland lukegarland requested a review from tiran as a code owner Dec 3, 2022
@kumaraditya303 kumaraditya303 requested a review from zooba Dec 4, 2022
@ambv ambv merged commit 374b0a2 into python:3.11 Dec 5, 2022
15 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.

None yet

4 participants
X Tutup