Closed Bug 1621886 Opened 5 years ago Closed 5 years ago

Remove Source actor destroy method

Categories

(DevTools :: Framework, task, P3)

task

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.

Priority: -- → P3
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED

Depends on D66780

Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5bfecf5aff6d Call Actor destroy from all actors r=nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: