mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
Kernel: Generate coredump backtraces from "threads for coredump" list
This broke with the change that gave each process a list of its own threads. Since threads are removed slightly earlier from that list during process teardown, we're not able to use it for generating coredump backtraces. Fortunately we have the "threads for coredump" list for just this purpose. :^)
This commit is contained in:
@@ -677,7 +677,7 @@ void Process::die()
|
||||
m_tty = nullptr;
|
||||
|
||||
for_each_thread([&](auto& thread) {
|
||||
m_threads_for_coredump.append(&thread);
|
||||
m_threads_for_coredump.append(thread);
|
||||
return IterationDecision::Continue;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user