Skip to content

delvedor/callback-cc-assertion-failed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

callback-cc-assertion-failed

This code will cause a C error node[3112]: ../src/api/callback.cc:141:void node::InternalCallbackScope::Close(): Assertion (env_->execution_async_id()) == (0)' failed.

The issue can be reproduced with Node.js ≥ 16, while Node.js 14 correctly throws a UnhandledPromiseRejectionWarning.

To reproduce

npm i
node test.js

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published