fix newish crash on windows when shutting down with --num-cores 1
This commit is contained in:
parent
73f5067ebc
commit
caec37ef25
|
@ -2016,7 +2016,8 @@ void KillDisplay()
|
|||
{
|
||||
display_die = true;
|
||||
SetEvent(display_wakeup_event);
|
||||
sthread_join(display_thread);
|
||||
if(display_thread)
|
||||
sthread_join(display_thread);
|
||||
}
|
||||
|
||||
void Display()
|
||||
|
|
Loading…
Reference in New Issue