Commit 74a7cdb
src: exclude C++ SetImmediate() from count
There is no real reason to manage a count manually, given that
checking whether there are C++ callbacks is a single pointer
comparison.
This makes it easier to add other kinds of native C++ callbacks
that are managed in a similar way.
PR-URL: #31386
Refs: openjs-foundation/summit#240
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Rich Trott <[email protected]>1 parent 53e566b commit 74a7cdb
3 files changed
+4
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | 245 | | |
254 | 246 | | |
255 | 247 | | |
| |||
784 | 776 | | |
785 | 777 | | |
786 | 778 | | |
787 | | - | |
788 | 779 | | |
789 | 780 | | |
790 | 781 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
668 | | - | |
669 | 668 | | |
670 | 669 | | |
671 | 670 | | |
| |||
674 | 673 | | |
675 | 674 | | |
676 | 675 | | |
677 | | - | |
678 | 676 | | |
679 | 677 | | |
680 | 678 | | |
| |||
692 | 690 | | |
693 | 691 | | |
694 | 692 | | |
695 | | - | |
696 | | - | |
697 | 693 | | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
698 | 697 | | |
699 | 698 | | |
700 | 699 | | |
| |||
780 | 779 | | |
781 | 780 | | |
782 | 781 | | |
783 | | - | |
784 | | - | |
785 | | - | |
786 | 782 | | |
787 | 783 | | |
788 | 784 | | |
789 | 785 | | |
790 | 786 | | |
791 | | - | |
| 787 | + | |
792 | 788 | | |
793 | 789 | | |
794 | 790 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
736 | 736 | | |
737 | 737 | | |
738 | 738 | | |
739 | | - | |
740 | | - | |
741 | 739 | | |
742 | 740 | | |
743 | 741 | | |
| |||
0 commit comments