mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Fix missing return after callback in a function
This commit is contained in:
parent
faae84a8cd
commit
6dc71db74b
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user