We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f124ad commit 93de96fCopy full SHA for 93de96f
packages/grpc-js/src/server-call.ts
@@ -443,9 +443,6 @@ export class Http2ServerCallStream<
443
metadata: null,
444
});
445
}
446
-
447
- // to compensate for a fact that cancelled is not always called
448
- this.emit('close');
449
450
451
this.stream.on('drain', () => {
@@ -777,9 +774,6 @@ export class Http2ServerCallStream<
777
774
call.emit('cancelled', reason);
778
775
779
776
780
- // to compensate for the fact that cancelled is no longer always called
781
- this.once('close', () => call.emit('close'))
782
783
this.once('callEnd', (status) => call.emit('callEnd', status));
784
785
0 commit comments