Found when running with ASAN on through Xcode. Crashed on exit. Multiple threads can release their own context at the same time and thus release the `metal_layer_` multiple times, resulting in use after free. Pull Request: https://projects.blender.org/blender/blender/pulls/147972