NSGL: Fix leak of condition object

Related to #1417.
master
Camilla Löwy ago%!(EXTRA string=6 years)
parent ba761ab06e
commit f8bcc7e65c
  1. 3
      src/nsgl_context.m

@ -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;

Loading…
Cancel
Save