3 ms·
This seems like a bug with the unhandled rejected promise handler. IMO it should only trigger for unhandled promises that are garbage collected. This way the g
by pyrolistical 4y ago
This seems like a bug with the unhandled rejected promise handler.
IMO it should only trigger for unhandled promises that are garbage collected. This way the given example wouldn’t cause a false positive
- jaffathecake 4y agoIt would. If chapterPromises[0] rejects, then chapterPromises[1] is never handled (because it's redundant), even once it's GC'd.