From 0812ebda88798e103498e78c8ae95497e0a4bad1 Mon Sep 17 00:00:00 2001 From: Jeremiah Senkpiel Date: Tue, 9 Jan 2018 10:58:07 -0500 Subject: [PATCH] http2: fix kUpdateTimer timer refresh Fixes an oversight from 93eb68e6d23c66b85e8f79540500d5d9f0bbc396 Wasn't caught by a test. PR-URL: https://github.com/nodejs/node/pull/18062 Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca --- lib/internal/http2/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/http2/core.js b/lib/internal/http2/core.js index 4980d0cd3e1ff5..d0bf5b14118e59 100644 --- a/lib/internal/http2/core.js +++ b/lib/internal/http2/core.js @@ -1478,7 +1478,7 @@ class Http2Stream extends Duplex { if (this.destroyed) return; if (this[kTimeout]) - _unrefActive([kTimeout]); + _unrefActive(this[kTimeout]); if (this[kSession]) this[kSession][kUpdateTimer](); }