Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Leak the Node environment when context is released #10099
This reverts the change of #8811.
So when the Node environment is destroyed, there are still libuv async tasks running that may reuse that Node environment, even though Node should have cleared all libuv handles. It might caused by Node missing some corner cases, but even if Node has covered all cases on its side, it is still possible that some native modules just assume Node environments can live forever.