X Tutup
Skip to content

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

Merged
ambv merged 1 commit intopython:3.11from
lukegarland:backport-85c128e-3.11
Dec 5, 2022
Merged

[3.11] bpo-40882: Fix a memory leak in SharedMemory on Windows (GH-20684)#99973
ambv merged 1 commit intopython:3.11from
lukegarland:backport-85c128e-3.11

Conversation

@lukegarland
Copy link
Copy Markdown

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)
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.

4 participants

X Tutup