dillon1000/react

Commit

[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.
Browse files
Changed paths1 file
First-parent comparison
M packages/internal-test-utils/enqueueTask.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…