| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| this.inProgress.delete(filename); | ||
| // Always force termination of the worker. Some tests allocate resources | ||
| // that would otherwise keep it alive. | ||
| this.workers.get(filename).terminate(); |
There was a problem hiding this comment.
If it's safe to ignore the Promise status, maybe add an empty catch handler?
| this.workers.get(filename).terminate(); | |
| this.workers.get(filename).terminate().catch(() => {}); |
Sorry, something went wrong.
There was a problem hiding this comment.
This promise can never reject
Lines 344 to 354 in f3d3769
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
PR-URL: #37627 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #37627 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
| Back | FazBrowse Home | New Git URL |
No description provided.