diff --git a/src/node_http2.cc b/src/node_http2.cc index 8c9103885c7..0ef77da13ac 100644 --- a/src/node_http2.cc +++ b/src/node_http2.cc @@ -531,8 +531,6 @@ Http2Session::Http2Session(Environment* env, Http2Session::~Http2Session() { CHECK_EQ(flags_ & SESSION_STATE_HAS_SCOPE, 0); - if (!object().IsEmpty()) - ClearWrap(object()); DEBUG_HTTP2SESSION(this, "freeing nghttp2 session"); nghttp2_session_del(session_); }