Commit 2b03e1d0 authored by himself65's avatar himself65 Committed by Rich Trott
Browse files

http2: destroy when settingsFn throws an error

http2.connect should call destroy when init fails.

PR-URL: https://github.com/nodejs/node/pull/28908


Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarTrivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
parent 36864a60
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment