Commit 6fdc502
committed
worker: make MessagePort
It’s not obvious why this was a heap allocation in the first place,
but it’s unneccessary. Most other `HandleWrap`s also store the
libuv handle directly.
PR-URL: #26271
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>uv_async_t inline field1 parent 51f01aa commit 6fdc502Copy full SHA for 6fdc502
File tree
Expand file treeCollapse file tree
2 files changed
+6
-11
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
2 files changed
+6
-11
lines changedOpen diff view settings
Collapse file
+5-10Lines changed: 5 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
469 | 469 | |
470 | 470 | |
471 | 471 | |
472 | | - |
| 472 | + |
473 | 473 | |
474 | 474 | |
475 | 475 | |
476 | 476 | |
477 | | - |
| 477 | + |
478 | 478 | |
479 | 479 | |
480 | 480 | |
481 | | - |
| 481 | + |
482 | 482 | |
483 | | - |
| 483 | + |
484 | 484 | |
485 | 485 | |
486 | 486 | |
| ||
494 | 494 | |
495 | 495 | |
496 | 496 | |
497 | | - |
498 | | - |
499 | | - |
500 | | - |
501 | 497 | |
502 | 498 | |
503 | 499 | |
504 | 500 | |
505 | 501 | |
506 | 502 | |
507 | | - |
| 503 | + |
508 | 504 | |
509 | 505 | |
510 | 506 | |
| ||
639 | 635 | |
640 | 636 | |
641 | 637 | |
642 | | - |
643 | 638 | |
644 | 639 | |
645 | 640 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
198 | 198 | |
199 | 199 | |
200 | 200 | |
201 | | - |
202 | 201 | |
203 | 202 | |
| 203 | + |
204 | 204 | |
205 | 205 | |
206 | 206 | |
|
0 commit comments