Fix missing return after callback in a function

This commit is contained in:
murgatroid99 2017-06-15 17:32:32 -07:00
parent faae84a8cd
commit 6dc71db74b

View File

@ -152,6 +152,7 @@ function _write(chunk, encoding, callback) {
/* Once a write fails, just call the callback immediately to let the caller
flush any pending writes. */
setImmediate(callback);
return;
}
try {
message = this.serialize(chunk);