Commit 4d3275b
src: harden running native
Prevent mistakes like the one fixed by the previous commit
by destroying the callback immediately after it has been called.
PR-URL: nodejs#31468
Refs: nodejs#31386
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>SetImmediate()s slightly1 parent 1915b5b commit 4d3275b
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
| 701 | + | |
| 702 | + | |
701 | 703 | | |
702 | 704 | | |
703 | 705 | | |
| |||
0 commit comments