dillon1000/react
Commit
Browse files [Internal tests] Close MessageChannel port to prevent leak (#26357)
Node's MessageChannel implementation will leak if you don't explicitly close the port. This updates the enqueueTask function we use in our internal testing helpers to close the port once it's no longer needed.
Changed paths1 file
First-parent comparisonpackages/internal-test-utils/enqueueTask.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…