Cocoa: Fix EGL and OSMesa not being unloaded

(cherry picked from commit 89514cf0fc)
This commit is contained in:
Camilla Löwy 2022-04-28 21:14:11 +02:00
parent 3d9d4e311c
commit 6d08e52bcf
2 changed files with 3 additions and 0 deletions

View File

@ -132,6 +132,7 @@ information on what to include when reporting a bug.
- [Win32] Bugfix: Instance-local operations used executable instance (#469,#1296,#1395)
- [Win32] Bugfix: The OSMesa library was not unloaded on termination
- [Cocoa] Bugfix: A connected Apple AirPlay would emit a useless error (#1791)
- [Cocoa] Bugfix: The EGL and OSMesa libraries were not unloaded on termination
- [Wayland] Added support for file path drop events (#2040)
- [Wayland] Bugfix: `glfwSetClipboardString` would fail if set to result of
`glfwGetClipboardString`

View File

@ -607,6 +607,8 @@ void _glfwPlatformTerminate(void)
free(_glfw.ns.clipboardString);
_glfwTerminateNSGL();
_glfwTerminateEGL();
_glfwTerminateOSMesa();
_glfwTerminateJoysticksNS();
} // autoreleasepool