diff options
Diffstat (limited to 'src/isolate.rs')
-rw-r--r-- | src/isolate.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/isolate.rs b/src/isolate.rs index 15a76ba3c..6e8b1864d 100644 --- a/src/isolate.rs +++ b/src/isolate.rs @@ -139,7 +139,7 @@ impl Isolate { }); let shared = empty(); // TODO Use shared for message passing. let libdeno_isolate = unsafe { - libdeno::deno_new(snapshot::deno_snapshot.clone(), shared, pre_dispatch) + libdeno::deno_new(snapshot::deno_snapshot(), shared, pre_dispatch) }; // This channel handles sending async messages back to the runtime. let (tx, rx) = mpsc::channel::<(i32, Buf)>(); |