GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: remove unused ContextifyContext::WeakCallback · nodejs/node@021e2cf

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • node_contextify.cc
    • node_contextify.h
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/node_contextify.cc‎

Copy file name to clipboardExpand all lines: src/node_contextify.cc
-7Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ using v8::Symbol;
8181
using v8::Uint32;
8282
using v8::UnboundScript;
8383
using v8::Value;
84-
using v8::WeakCallbackInfo;
8584

8685
// The vm module executes code in a sandboxed environment with a different
8786
// global object than the rest of the code. This is achieved by applying
@@ -416,12 +415,6 @@ void ContextifyContext::MakeContext(const FunctionCallbackInfo<Value>& args) {
416415
}
417416
}
418417

419-
void ContextifyContext::WeakCallback(
420-
const WeakCallbackInfo<ContextifyContext>& data) {
421-
ContextifyContext* context = data.GetParameter();
422-
delete context;
423-
}
424-
425418
// static
426419
ContextifyContext* ContextifyContext::ContextFromContextifiedSandbox(
427420
Environment* env,
Collapse file

‎src/node_contextify.h‎

Copy file name to clipboardExpand all lines: src/node_contextify.h
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ class ContextifyContext : public BaseObject {
9494
bool produce_cached_data,
9595
v8::Local<v8::Symbol> id_symbol,
9696
const errors::TryCatchScope& try_catch);
97-
static void WeakCallback(
98-
const v8::WeakCallbackInfo<ContextifyContext>& data);
9997
static v8::Intercepted PropertyGetterCallback(
10098
v8::Local<v8::Name> property,
10199
const v8::PropertyCallbackInfo<v8::Value>& args);

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.