diff --git a/src/vblank.c b/src/vblank.c index b7281360ee..78cb3bf547 100644 --- a/src/vblank.c +++ b/src/vblank.c @@ -229,6 +229,7 @@ static void *sgi_video_sync_thread(void *data) { pthread_mutex_unlock(&args->start_mtx); cleanup: + log_deinit_tls(); if (dpy) { glXMakeCurrent(dpy, None, NULL); if (ctx) {