1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 20:28:49 -05:00

NSGL: Fix leak of condition object

Related to #1417.
This commit is contained in:
Camilla Löwy 2019-02-21 03:31:28 +01:00
parent ba761ab06e
commit f8bcc7e65c

View File

@ -133,6 +133,9 @@ static void destroyContextNSGL(_GLFWwindow* window)
CVDisplayLinkRelease(window->context.nsgl.displayLink);
}
[window->context.nsgl.swapIntervalCond release];
window->context.nsgl.swapIntervalCond = nil;
[window->context.nsgl.pixelFormat release];
window->context.nsgl.pixelFormat = nil;