aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/client.js
diff options
context:
space:
mode:
authorGravatar murgatroid99 <michael.lumish@gmail.com>2015-01-26 14:11:18 -0800
committerGravatar murgatroid99 <michael.lumish@gmail.com>2015-01-26 14:11:18 -0800
commit55dd2ba908fc3cb927d829e24983dc4132e6f558 (patch)
tree793774d50982051640e6f24839704e031a5abb80 /src/node/client.js
parentd3e95a36327c7a2249434e554846c8e44aa7daa0 (diff)
Added cancel to client APIs and cancelled event to server APIs
Diffstat (limited to 'src/node/client.js')
-rw-r--r--src/node/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/client.js b/src/node/client.js
index a039b0dcfa..3a1c9eef84 100644
--- a/src/node/client.js
+++ b/src/node/client.js
@@ -165,7 +165,7 @@ GrpcClientStream.prototype._write = function(chunk, encoding, callback) {
* with status CANCELLED.
*/
GrpcClientStream.prototype.cancel = function() {
- self._call.cancel();
+ this._call.cancel();
};
/**