diff --git a/lib/app.js b/lib/app.js index 0a44031..ef48704 100644 --- a/lib/app.js +++ b/lib/app.js @@ -429,7 +429,11 @@ class App { shell.rm('-Rf', this.coverageDir); shell.rm('./allFiredEvents'); shell.rm('./scTopics'); - if (this.testrpcProcess) { this.testrpcProcess.kill(); } + if (this.testrpcProcess) { + this.testrpcProcess.stdout.destroy(); + this.testrpcProcess.stderr.destroy(); + this.testrpcProcess.kill(); + } if (err) { this.log(`${err}\nExiting without generating coverage...`);