diff options
author | 2015-01-26 14:11:18 -0800 | |
---|---|---|
committer | 2015-01-26 14:11:18 -0800 | |
commit | 55dd2ba908fc3cb927d829e24983dc4132e6f558 (patch) | |
tree | 793774d50982051640e6f24839704e031a5abb80 /src/node/client.js | |
parent | d3e95a36327c7a2249434e554846c8e44aa7daa0 (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.js | 2 |
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(); }; /** |