diff options
author | Anna Henningsen <anna@addaleax.net> | 2018-07-11 00:59:53 +0200 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-07-15 20:35:35 +0200 |
commit | 266a7e62585b975f2ea2d25473b21395f5ca5a3f (patch) | |
tree | 0e5229e042517620784aea2f8114c2cf3d287bb7 /src/tls_wrap.h | |
parent | d2a1408f119181675d9d3f20982ccd863443baad (diff) | |
download | node-new-266a7e62585b975f2ea2d25473b21395f5ca5a3f.tar.gz |
src: use V8 graph heap snapshot API
Transition to a newer, more flexible API for
heap snapshot creation.
This addresses a currently pending deprecation in the V8 API.
PR-URL: https://github.com/nodejs/node/pull/21741
Fixes: https://github.com/nodejs/node/issues/21633
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'src/tls_wrap.h')
-rw-r--r-- | src/tls_wrap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tls_wrap.h b/src/tls_wrap.h index b45e379ca3..5f4fd3f707 100644 --- a/src/tls_wrap.h +++ b/src/tls_wrap.h @@ -143,8 +143,8 @@ class TLSWrap : public AsyncWrap, static int SelectSNIContextCallback(SSL* s, int* ad, void* arg); crypto::SecureContext* sc_; - BIO* enc_in_; - BIO* enc_out_; + BIO* enc_in_ = nullptr; + BIO* enc_out_ = nullptr; std::vector<uv_buf_t> pending_cleartext_input_; size_t write_size_; WriteWrap* current_write_ = nullptr; |