================
@@ -274,6 +274,11 @@ void ThreadRegistry::JoinThread(u32 tid, void *arg) {
{
ThreadRegistryLock l(this);
ThreadContextBase *tctx = threads_[tid];
+
+ if (!tctx) {
----------------
ghostway0 wrote:
okay will do
https://github.com/llvm/llvm-project/pull/156921