mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 03:28:25 +03:00
Kernel: Verify Process coredump threads are empty
This commit is contained in:
parent
5b03b62518
commit
ab840423a8
Notes:
sideshowbarker
2024-07-18 12:14:50 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/ab840423a8f Pull-request: https://github.com/SerenityOS/serenity/pull/8052 Issue: https://github.com/SerenityOS/serenity/issues/7289
@ -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…
Reference in New Issue
Block a user