From eb5c93f2991f74d35174a42e89e05bdae210c295 Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Mon, 19 Jun 2017 12:36:11 -0700 Subject: [PATCH] Add another missing return after a callback --- src/client.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client.js b/src/client.js index 8892aa7c..0b441449 100644 --- a/src/client.js +++ b/src/client.js @@ -165,6 +165,7 @@ function _write(chunk, encoding, callback) { this.call.cancelWithStatus(constants.status.INTERNAL, 'Serialization failure'); callback(e); + return; } if (_.isFinite(encoding)) { /* Attach the encoding if it is a finite number. This is the closest we