Skip to content

Commit

Permalink
Merge pull request #3426 from Sonicadvance1/thread_leak
Browse files Browse the repository at this point in the history
Linux: Make sure to destroy thread object when thread shuts down
  • Loading branch information
lioncash authored Feb 17, 2024
2 parents 0505b30 + 80f20ad commit a7c7fe4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ namespace FEX::HLE {
auto Thread = Handler->Thread;
FEXCore::Allocator::free(Handler);
CTX->ExecutionThread(Thread);
FEX::HLE::_SyscallHandler->TM.DestroyThread(Thread);
return nullptr;
}

Expand Down

0 comments on commit a7c7fe4

Please sign in to comment.