Closed Bug 1802910 Opened 3 years ago Closed 3 years ago

We should not try to create nsHttpHandler during shutdown

Categories

(Core :: Networking: HTTP, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: kershaw, Assigned: kershaw)

References

Details

(Whiteboard: [necko-triaged][necko-priority-review])

Attachments

(1 file)

Based on the discussion on Slack with Jens, we should not try to create nsHttpHandler if we are InOrBeyond(AppShutdownNetTeardown) to avoid late instantiation.

This might not be an issue after https://phabricator.services.mozilla.com/D162804 lands.

I think we can just add a diagnostic_assert to the nsHttpHandler constructor.

Assignee: nobody → kershaw
Flags: needinfo?(kershaw)
Flags: needinfo?(kershaw)
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/69a1d2fc5e76 Avoid creating http handler after shutdown, r=necko-reviewers,valentin
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
Regressions: 1813353
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: