Fixing thread exit.

This commit is contained in:
Ben Vanik
2015-07-15 18:01:17 -07:00
parent 42400d06a9
commit 99104a25a8
3 changed files with 9 additions and 12 deletions

View File

@@ -377,7 +377,7 @@ X_STATUS XThread::Exit(int exit_code) {
Release();
// NOTE: this does not return!
thread_->Exit(exit_code);
xe::threading::Thread::Exit(exit_code);
return X_STATUS_SUCCESS;
}