Remove cpu_thread destructor

This commit is contained in:
Eladash 2021-02-21 16:16:06 +02:00 committed by Ivan
parent 2e5f321583
commit 96400234a8
2 changed files with 5 additions and 3 deletions

View file

@ -537,6 +537,8 @@ void cpu_thread::operator()()
g_tls_current_cpu_thread = nullptr;
g_threads_deleted++;
_this = nullptr;
}
@ -590,8 +592,6 @@ void cpu_thread::operator()()
cpu_thread::~cpu_thread()
{
vm::cleanup_unlock(*this);
g_threads_deleted++;
}
cpu_thread::cpu_thread(u32 id)