Commit 1bd07ac
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 bc64cf2 commit 1bd07ac
1 file changed
+6
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1495 | 1495 | | |
1496 | 1496 | | |
1497 | 1497 | | |
1498 | | - | |
1499 | | - | |
1500 | | - | |
1501 | | - | |
1502 | | - | |
1503 | | - | |
1504 | | - | |
1505 | 1498 | | |
1506 | 1499 | | |
1507 | 1500 | | |
| |||
1518 | 1511 | | |
1519 | 1512 | | |
1520 | 1513 | | |
1521 | | - | |
1522 | 1514 | | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
1523 | 1521 | | |
1524 | 1522 | | |
1525 | 1523 | | |
| |||
0 commit comments