Skip to content

macOS: fix memory leak in Metal driver#91

Open
rkitover wants to merge 1 commit intorenderbag:mainfrom
rkitover:macos-metal-memleak-fix
Open

macOS: fix memory leak in Metal driver#91
rkitover wants to merge 1 commit intorenderbag:mainfrom
rkitover:macos-metal-memleak-fix

Conversation

@rkitover
Copy link

Fix memory leaks in the Metal driver on macOS.
Add destructor for MetalSwapChain, release devices array and add autorelease pool for MTLSTR objects.

Fix memory leaks in the Metal driver on macOS.
Add destructor for MetalSwapChain, release devices array and add
autorelease pool for MTLSTR objects.
Release state and error objects.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
@rkitover rkitover force-pushed the macos-metal-memleak-fix branch from e109105 to 564e2f7 Compare February 17, 2026 15:25
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