Files
node/test/parallel
Anna Henningsen 06666305da http2: keep session objects alive during Http2Scope
Keep a local handle as a reference to the JS `Http2Session`
object so that it will not be garbage collected
when inside an `Http2Scope`, because the presence of the
latter usually indicates that further actions on
the session object are expected.

Strictly speaking, storing the `session_handle_` as a
property on the scope object is not necessary, but
this is not very costly and makes the code more
obviously correct.

Fixes: https://github.com/nodejs/node/issues/17840

PR-URL: https://github.com/nodejs/node/pull/17863
Fixes: https://github.com/nodejs/node/issues/17840
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2017-12-27 16:04:22 -08:00
..
2017-12-21 03:01:02 -03:00
2017-12-22 12:49:10 -08:00
2017-12-22 12:49:10 -08:00
2017-12-22 12:49:10 -08:00
2017-12-22 12:49:10 -08:00
2017-12-22 12:49:10 -08:00
2017-12-22 12:49:10 -08:00
2017-12-22 12:49:10 -08:00
2017-12-22 12:49:10 -08:00
2017-12-22 12:49:10 -08:00
2017-11-26 08:47:33 -08:00
2017-11-10 14:27:52 -05:00
2017-11-26 08:57:35 -08:00