mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-01 06:07:59 +00:00
Kernel: Remove always-false Thread::drop_thread_count boolean parameter
This commit is contained in:
committed by
Linus Groh
parent
1e941fc3cc
commit
7e9df6ddba
@@ -512,14 +512,13 @@ void Thread::finalize()
|
||||
}
|
||||
}
|
||||
|
||||
drop_thread_count(false);
|
||||
drop_thread_count();
|
||||
}
|
||||
|
||||
void Thread::drop_thread_count(bool initializing_first_thread)
|
||||
void Thread::drop_thread_count()
|
||||
{
|
||||
bool is_last = process().remove_thread(*this);
|
||||
|
||||
if (!initializing_first_thread && is_last)
|
||||
if (is_last)
|
||||
process().finalize();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user