mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:58:13 +00:00
Kernel: Verify Process coredump threads are empty
This commit is contained in:
parent
5b03b62518
commit
ab840423a8
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue