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 <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>1 parent bc64cf2 commit 1bd07acCopy full SHA for 1bd07ac
File tree
Expand file treeCollapse file tree
1 file changed
+6
-8
lines changedOpen diff view settings
Filter options
- lib
Expand file treeCollapse file tree
1 file changed
+6
-8
lines changedOpen diff view settings
Collapse file
+6-8Lines changed: 6 additions & 8 deletions
| 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