Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🏗 gulp visual-diff refactor and stability fixes #19327

Merged
Prev Previous commit
Next Next commit
Cleanup should validate that the webServerProcess_ object exists befo…
…re checking if it was killed
  • Loading branch information
Daniel Rozenberg committed Nov 15, 2018
commit 6ba4de51a33d776c48542d513bedb3273a84451b
2 changes: 1 addition & 1 deletion build-system/tasks/visual-diff/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ async function cleanup_() {
if (browser_) {
await browser_.close();
}
if (!webServerProcess_.killed) {
if (webServerProcess_ && !webServerProcess_.killed) {
// Explicitly exit the webserver.
webServerProcess_.kill();
// The child node process has an asynchronous stdout. See #10409.
Expand Down