mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 13:48:25 +00:00
Kernel: Verify Process coredump threads are empty
This commit is contained in:
committed by
Andreas Kling
parent
5b03b62518
commit
ab840423a8
@@ -565,6 +565,7 @@ void Process::die()
|
||||
// slave owner, we have to allow the PTY pair to be torn down.
|
||||
m_tty = nullptr;
|
||||
|
||||
VERIFY(m_threads_for_coredump.is_empty());
|
||||
for_each_thread([&](auto& thread) {
|
||||
m_threads_for_coredump.append(thread);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user