summaryrefslogtreecommitdiff
path: root/deno2/from_snapshot.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deno2/from_snapshot.cc')
-rw-r--r--deno2/from_snapshot.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/deno2/from_snapshot.cc b/deno2/from_snapshot.cc
index 68185ce6d..5f954dc09 100644
--- a/deno2/from_snapshot.cc
+++ b/deno2/from_snapshot.cc
@@ -45,6 +45,7 @@ Deno* NewFromSnapshot(void* data, deno_sub_cb cb) {
v8::DeserializeInternalFieldsCallback(DeserializeInternalFields, nullptr);
Deno* d = new Deno;
+ d->currentArgs = nullptr;
d->cb = cb;
d->data = data;
v8::Isolate::CreateParams params;