mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
src: remove unnecessary writes in tls_wrap.cc
PR-URL: https://github.com/nodejs/node/pull/21984 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
b2ac7a750f
commit
d0b0ea971a
1 file changed
-4
@@ -60,8 +60,6 @@ TLSWrap::TLSWrap(Environment* env,
|
||||
SSLWrap<TLSWrap>(env, sc, kind),
|
||||
StreamBase(env),
|
||||
sc_(sc),
|
||||
enc_in_(nullptr),
|
||||
enc_out_(nullptr),
|
||||
write_size_(0),
|
||||
started_(false),
|
||||
established_(false),
|
||||
@@ -86,8 +84,6 @@ TLSWrap::TLSWrap(Environment* env,
|
||||
|
||||
|
||||
TLSWrap::~TLSWrap() {
|
||||
enc_in_ = nullptr;
|
||||
enc_out_ = nullptr;
|
||||
sc_ = nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user