process.domain is undefined after using "await" in node10 #20378
Labels
async_hooks
Issues and PRs related to the async hooks subsystem.
confirmed-bug
Issues with confirmed bugs.
domain
Issues and PRs related to the domain subsystem.
duplicate
Issues and PRs that are duplicates of other issues or PRs.
promises
Issues and PRs related to ECMAScript promises.
Version: found at v10.0.0
Platform: 64-bit Windows 7
Subsystem:domain
When I upgrade to node v10.0.0, I found a problem with domain
Here is the code:
As shown by the comments, process.domain is undefined after using await. However, If I remove await, the result will be a Promise and process.domain is the same with d.
Just like the problem mentioned at #10724. It happened again at node v10.0.0. Please take a look.
The text was updated successfully, but these errors were encountered: