From 6f5b5d1c4bd7decf68618955244ea6b49dba92f4 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Fri, 21 Jun 2019 14:07:20 -0400 Subject: [PATCH] doc: fix sentence about Http2Stream destruction PR-URL: https://github.com/nodejs/node/pull/28336 Reviewed-By: Luigi Pinca Reviewed-By: James M Snell Reviewed-By: Rich Trott Reviewed-By: Yongsheng Zhang Reviewed-By: Ruben Bridgewater --- doc/api/http2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/http2.md b/doc/api/http2.md index 58d9005846e..40d1a3a2344 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -913,7 +913,7 @@ All [`Http2Stream`][] instances are destroyed either when: * The `http2stream.destroy()` or `http2session.destroy()` methods are called. When an `Http2Stream` instance is destroyed, an attempt will be made to send an -`RST_STREAM` frame will be sent to the connected peer. +`RST_STREAM` frame to the connected peer. When the `Http2Stream` instance is destroyed, the `'close'` event will be emitted. Because `Http2Stream` is an instance of `stream.Duplex`, the