Skip to content

Commit 2d09f04

Browse files
joyeecheungnodejs-github-bot
authored andcommitted
src: fix external reference registration for new CFunction lifetime
Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com>
1 parent a93b7bb commit 2d09f04

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/node_external_reference.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ class ExternalReferenceRegistry {
4343
// and the corresponding CFunctionInfo.
4444
void Register(const v8::CFunction& c_func) {
4545
RegisterT(&c_func);
46-
// TODO(joyeecheung): remove below when V8 14.8 lands.
47-
RegisterT(c_func.GetAddress());
48-
RegisterT(c_func.GetTypeInfo());
4946
}
5047

5148
// This can be called only once.

0 commit comments

Comments
 (0)