diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-09-29 02:29:16 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-11-19 15:47:30 +0300 |
commit | a36f2204d6ffd80437f2b713787c18a58e328e05 (patch) | |
tree | 98e7be63e7f9d5a2adbc67f2813ac8649e9ec158 /src/base_object-inl.h | |
parent | 7e6104f1bb63a07885b08f277c3b708caa6b8a23 (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.h | 4 |
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; |