Closed
Bug 1621886
Opened 5 years ago
Closed 5 years ago
Remove Source actor destroy method
Categories
(DevTools :: Framework, task, P3)
DevTools
Framework
Tracking
(firefox76 fixed)
RESOLVED
FIXED
Firefox 76
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: jdescottes)
Details
Attachments
(1 file)
The Source actor overrides the destroy
function here devtools/server/actors/source.js#188-192
In it, we're looking for a sourceActors
property on the parent pool in order to make some cleanup. But there doesn't seem to be any place where we set this sourceActors
property, so we can probably remove this code.
The catch is that removing the whole function would default to Actor#destroy
, which isn't called at the moment, so we have to be careful to not cause any issue here.
Assignee | ||
Comment 1•5 years ago
•
|
||
Other actors also missing a call to Actor::destroy:
- devtools/server/actors/environment.js
- devtools/server/actors/frame.js
- devtools/server/actors/object/symbol.js (same pattern as source actor)
- StyleSheetActor in devtools/server/actors/stylesheets.js
- devtools/server/actors/thread.js
Updated•5 years ago
|
Priority: -- → P3
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D66780
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5bfecf5aff6d
Call Actor destroy from all actors r=nchevobbe
Comment 4•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox76:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 76
You need to log in
before you can comment on or make changes to this bug.
Description
•