summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index b05a41642..4595f7160 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -96,7 +96,7 @@ fn main() {
});
let mut isolate = isolate::Isolate::new(
- snapshot::deno_snapshot(),
+ unsafe { snapshot::deno_snapshot.clone() },
flags,
rest_argv,
ops::dispatch,