File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @grpc/grpc-js" ,
3
- "version" : " 1.3.6 " ,
3
+ "version" : " 1.3.7 " ,
4
4
"description" : " gRPC Library for Node - pure JS implementation" ,
5
5
"homepage" : " https://grpc.io/" ,
6
6
"repository" : " https://github.com/grpc/grpc-node/tree/master/packages/grpc-js" ,
Original file line number Diff line number Diff line change @@ -429,7 +429,7 @@ export class Http2ServerCallStream<
429
429
private checkCancelled ( ) : boolean {
430
430
/* In some cases the stream can become destroyed before the close event
431
431
* fires. That creates a race condition that this check works around */
432
- if ( this . stream . destroyed ) {
432
+ if ( this . stream . destroyed || this . stream . closed ) {
433
433
this . cancelled = true ;
434
434
}
435
435
return this . cancelled ;
You can’t perform that action at this time.
0 commit comments