Skip to content

child_process: refactor self=this in socket_list

Pull Request check-list

Affected core subsystem(s)

child_process

Description of change

The socket list module (used by child_process) currently uses the var self = this; pattern for context in several places, this PR replaces this with arrow functions or passing a parameter in where appropriate.

Note that the var self = this in the _request is intentionally left in place since it is not trivial to refactor it and the current pattern isn't bad given the use case.

Merge request reports

Loading