fix newish crash on windows when shutting down with --num-cores 1

This commit is contained in:
zeromus 2016-04-24 19:13:07 +00:00
parent 73f5067ebc
commit caec37ef25
1 changed files with 2 additions and 1 deletions

View File

@ -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()