mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
Revert "Kernel: Fix regression, removing a ProcessGroup that not in the list"
This reverts commit bbe315d8c0
.
This is un-needed when reverting the parent commit.
This commit is contained in:
parent
d60ebbbba6
commit
124a523199
Notes:
sideshowbarker
2024-07-18 17:38:16 +09:00
Author: https://github.com/bgianfo
Commit: 124a523199
Pull-request: https://github.com/SerenityOS/serenity/pull/7343
1 changed files with 1 additions and 3 deletions
|
@ -14,9 +14,7 @@ InlineLinkedList<ProcessGroup>* g_process_groups;
|
|||
ProcessGroup::~ProcessGroup()
|
||||
{
|
||||
ScopedSpinLock lock(g_process_groups_lock);
|
||||
if (m_next || m_prev) {
|
||||
g_process_groups->remove(this);
|
||||
}
|
||||
g_process_groups->remove(this);
|
||||
}
|
||||
|
||||
RefPtr<ProcessGroup> ProcessGroup::create(ProcessGroupID pgid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue