Merge branch 'thread-state-to-null-in-teardown' into 'master'
Set current thread state to NULL in teardown See merge request glvnd/libglvnd!264
This commit is contained in:
commit
5024e5796e
|
@ -91,6 +91,7 @@ void __eglCurrentTeardown(EGLBoolean doReset)
|
|||
__eglDestroyAPIState(apiState);
|
||||
}
|
||||
|
||||
__glvndPthreadFuncs.setspecific(threadStateKey, NULL);
|
||||
while (!glvnd_list_is_empty(¤tThreadStateList)) {
|
||||
__EGLThreadAPIState *threadState = glvnd_list_first_entry(
|
||||
¤tThreadStateList, __EGLThreadAPIState, entry);
|
||||
|
|
Loading…
Reference in New Issue