Skip to content

Commit

Permalink
Merge pull request #7655 from skratchdot/issue-7654
Browse files Browse the repository at this point in the history
prevent UnhandledPromiseRejectionWarning in node 6
  • Loading branch information
sokra committed Jul 5, 2018
2 parents 7fc88cd + 3b6f475 commit 6f53dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/debug/ProfilingPlugin.js
Expand Up @@ -137,7 +137,7 @@ const createTrace = outputPath => {
callback();
});
// Tear down the readable trace stream.
trace.destroy();
trace.push(null);
}
};
};
Expand Down

0 comments on commit 6f53dbe

Please sign in to comment.