| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Adjusts the e2e backend shutdown logic to correctly detect processes that have already exited due to SIGTERM (notably on Windows), avoiding an unnecessary wait + forced SIGKILL.
Changes:
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
| function done(proc: ReturnType<typeof spawn>) { | ||
| return proc.exitCode !== null || proc.signalCode !== null | ||
| } |
There was a problem hiding this comment.
The helper name done is pretty generic and doesn’t communicate that it specifically means “child process has exited” (exitCode or signalCode is set). Consider renaming to something more explicit (e.g. hasExited / isStopped) to make the stop logic easier to read/maintain.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Validation