Open Bug 1815791 Opened 2 years ago Updated 29 days ago

Avoid dispatching any action after the debugger starts being destroyed

Categories

(DevTools :: Debugger, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: ochameau, Unassigned)

References

Details

Attachments

(1 file)

Some action are trying to bail out early in case the debugger starts destroying.
But it should rather be done at the framework level.
We should have a general mechanism that ensures that no action can be dispatches after we start destroying the panel.
AFAIK, there isn't anything in place which would stop dispatching action from async action being overlapping the panel's destruction.

It looks like this easily happen on try, but not so easily manually.
And it looks like we would benefit from bug 1814607. These tests don't seem to wait correctly for reload's async actions.

Depends on: 1814607
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: