From a36f2204d6ffd80437f2b713787c18a58e328e05 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Sun, 29 Sep 2019 01:29:16 +0200 Subject: http2: use custom BaseObject smart pointers Refs: https://github.com/nodejs/quic/pull/141 Reviewed-By: James M Snell PR-URL: https://github.com/nodejs/node/pull/30374 Refs: https://github.com/nodejs/quic/pull/149 Refs: https://github.com/nodejs/quic/pull/165 Reviewed-By: David Carlier --- src/base_object-inl.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/base_object-inl.h') diff --git a/src/base_object-inl.h b/src/base_object-inl.h index 4fc9210b39..f35cd6734e 100644 --- a/src/base_object-inl.h +++ b/src/base_object-inl.h @@ -63,10 +63,6 @@ BaseObject::~BaseObject() { } } -void BaseObject::RemoveCleanupHook() { - env_->RemoveCleanupHook(DeleteMe, static_cast(this)); -} - void BaseObject::Detach() { CHECK_GT(pointer_data()->strong_ptr_count, 0); pointer_data()->is_detached = true; -- cgit v1.2.3