[qwaq] Ensure main thread return code gets returned

Needed for catching vkgen errors during the build.
This commit is contained in:
Bill Currie 2020-07-16 15:44:37 +09:00
parent 79177e96e8
commit 8290e3800f

View file

@ -480,6 +480,7 @@ main (int argc, char **argv)
}
}
pthread_join (thread_data.a[main_ind]->thread_id, 0);
ret = thread_data.a[main_ind]->return_code;
}
Sys_Shutdown ();