Skip to content

function: Warn about unhandled promise rejections in System.exit()

If we ran System.exit() inside a signal handler, then we do an abrupt exit without shutting down the JS engine. This means that we previously would swallow warnings about unhandled promise rejections when exiting from a signal handler. Instead, print them.

Edited by Philip Chimento

Merge request reports