We detected that the gpu/draw tests could lead to crashes after the tests where finished. It was identified that the crash happened as the submission runner wasn't exited, uses a mutex, that is being destroyed by the main thread. Solution is to wait until the submission runner has finished, before destroying resources. Pull Request: https://projects.blender.org/blender/blender/pulls/140650