Skip to content

Commit

Permalink
http2: fix kUpdateTimer timer refresh
Browse files Browse the repository at this point in the history
Fixes an oversight from
93eb68e

Wasn't caught by a test.

PR-URL: #18062
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
Fishrock123 committed Jan 11, 2018
1 parent ba07699 commit 0812ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/http2/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]();
}
Expand Down

0 comments on commit 0812ebd

Please sign in to comment.