Previously, with aContext == nullptr, the mutex would lock, but not unlock. Then it got deadlocked inside OPENGL_GAL dtor. (cherry picked from commit eaf65f7d53)
eaf65f7d53