Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-09-29 02:29:16 +0300
committerMyles Borins <mylesborins@google.com>2019-11-21 08:29:26 +0300
commit666588143e65482a6b509271de40ca19a795546e (patch)
treee164a5d5327f07ee69d4909ef1c3e39d30498b41 /src/base_object-inl.h
parenta2dbadc1cee69ad38b6d75c8328d1a89347c3fec (diff)
http2: use custom BaseObject smart pointers
Refs: https://github.com/nodejs/quic/pull/141 Reviewed-By: James M Snell <jasnell@gmail.com> 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 <devnexen@gmail.com>
Diffstat (limited to 'src/base_object-inl.h')
-rw-r--r--src/base_object-inl.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/base_object-inl.h b/src/base_object-inl.h
index 4fc9210b39b..f35cd6734ed 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<void*>(this));
-}
-
void BaseObject::Detach() {
CHECK_GT(pointer_data()->strong_ptr_count, 0);
pointer_data()->is_detached = true;