Skip to content
Snippets Groups Projects
Commit d58cfb07 authored by murgatroid99's avatar murgatroid99
Browse files

Fix missing return after callback in a function

parent 2f850801
Branches
Tags
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment