Thread: Release the ARM Interface on exitting.

This commit is contained in:
Fernando Sahmkow 2020-03-07 14:16:25 -04:00
parent 1567824d2d
commit 5974e3ea33
3 changed files with 8 additions and 1 deletions

View file

@ -69,6 +69,8 @@ void Thread::Stop() {
// Mark the TLS slot in the thread's page as free.
owner_process->FreeTLSRegion(tls_address);
}
arm_interface.reset();
has_exited = true;
}
global_handle = 0;
}