You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using bluebird@3.1.1, I've noticed that processes will not shutdown until the timeout has triggered, even if the promise is cancelled.
In this example, I would have expected the process to shutdown after roughly 1s, but the process will take about 10 seconds before shutting down, due to the setTimeout reference called from promise.timeout still being active.
Using
bluebird@3.1.1
, I've noticed that processes will not shutdown until the timeout has triggered, even if the promise is cancelled.In this example, I would have expected the process to shutdown after roughly 1s, but the process will take about 10 seconds before shutting down, due to the
setTimeout
reference called frompromise.timeout
still being active.The output looks like this
Notice the 10 second delay on the last log line.
The text was updated successfully, but these errors were encountered: