Skip to content

Commit

Permalink
Use push null to end the stream
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Jul 5, 2018
1 parent 6705141 commit 3b6f475
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/debug/ProfilingPlugin.js
Expand Up @@ -137,9 +137,7 @@ const createTrace = outputPath => {
callback();
});
// Tear down the readable trace stream.
if (trace.destroy) {
trace.destroy();
}
trace.push(null);
}
};
};
Expand Down

0 comments on commit 3b6f475

Please sign in to comment.