Closed Bug 1728075 Opened 3 years ago Closed 3 years ago

InspectorFront is leaked by a dangling STYLESHEET listener

Categories

(DevTools :: Inspector, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1727838

People

(Reporter: ochameau, Unassigned)

References

Details

(Whiteboard: dt-perf-stability-triage)

The following STYLESHEET listener is never removed:
https://searchfox.org/mozilla-central/rev/5a362eb7d054740dc9d7c82c79a2efbc5f3e4776/devtools/client/fronts/inspector.js#63-66
And because we pass a bound method () => {}, we end up leaking the inspector front instance from the ResourceCommand.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
No longer blocks: dt-leak-reload
You need to log in before you can comment on or make changes to this bug.