Join the input thread without interrupting first

Otherwise we'll kill it before it finishes draining
This commit is contained in:
Cameron Gutman
2021-05-15 22:56:44 -05:00
parent 431e188b07
commit ed9301f3f8
2 changed files with 2 additions and 5 deletions

View File

@@ -167,7 +167,6 @@ void PltUnlockMutex(PLT_MUTEX* mutex) {
}
void PltJoinThread(PLT_THREAD* thread) {
LC_ASSERT(thread->cancelled);
#if defined(LC_WINDOWS)
WaitForSingleObjectEx(thread->handle, INFINITE, FALSE);
#elif defined(__vita__)