Commit 615167b
committed
net: refactor onSlaveClose in Server.close
Refactors onSlaveClose in Server.close to be an arrow function,
removes need for `self = this` and moves it down to make code
more readable.
PR-URL: #12334
Reviewed-By: Evan Lucas <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Yuta Hiroto <[email protected]>1 parent 6c60691 commit 615167b
1 file changed
+6
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1539 | 1539 | | |
1540 | 1540 | | |
1541 | 1541 | | |
1542 | | - | |
1543 | | - | |
1544 | | - | |
1545 | | - | |
1546 | | - | |
1547 | | - | |
1548 | | - | |
1549 | 1542 | | |
1550 | 1543 | | |
1551 | 1544 | | |
| |||
1562 | 1555 | | |
1563 | 1556 | | |
1564 | 1557 | | |
1565 | | - | |
1566 | 1558 | | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
1567 | 1565 | | |
1568 | 1566 | | |
1569 | 1567 | | |
| |||
0 commit comments