| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 24a0781 commit e95570c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -102,7 +102,8 @@ function processTicksAndRejections() { | |||
| 102 | 102 | AsyncContextFrame.set(priorContextFrame); | |
| 103 | 103 | } | |
| 104 | 104 | runMicrotasks(); | |
| 105 | - } while (!queue.isEmpty() || processPromiseRejections()); | ||
| 105 | + } while (!queue.isEmpty() || | ||
| 106 | + (hasRejectionToWarn() && processPromiseRejections())); | ||
| 106 | 107 | setHasTickScheduled(false); | |
| 107 | 108 | setHasRejectionToWarn(false); | |
| 108 | 109 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments