async_hooks: prevent async storage methods leaking to outer context
The _exit
logic is not actually necessary as explained here. This eliminates it and gives sync context runs a proper AsyncResource
.
cc @vdeturckheim @puzpuzpuz @Flarna
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines