mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
Hang if a task crashes while it's already crashing..
This commit is contained in:
parent
0f20be05a6
commit
29035ffde7
Notes:
sideshowbarker
2024-07-19 18:36:37 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/29035ffde74
1 changed files with 5 additions and 0 deletions
|
@ -510,6 +510,11 @@ void Task::taskDidCrash(Task* crashedTask)
|
|||
{
|
||||
ASSERT_INTERRUPTS_DISABLED();
|
||||
|
||||
if (crashedTask->state() == Crashing) {
|
||||
kprintf("Double crash :(\n");
|
||||
HANG;
|
||||
}
|
||||
|
||||
crashedTask->setState(Crashing);
|
||||
crashedTask->dumpRegions();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue