Fix up an async thing.

dev/git-series/gccdum
Matt Godbolt 7 years ago
parent dc57abaa74
commit c52fa286bc

@ -199,7 +199,10 @@ function buildDiffHandler(config) {
reject(e);
});
child.on('exit', function () {
resolve(stdout);
// See comment in compile.js - seems needed if the child has immediately exited
setTimeout(function () {
resolve(stdout);
}, 0);
});
});
})

Loading…
Cancel
Save