From 92e404706b0b1a26cdaf6f8cf81aac148292557f Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 12 Nov 2018 17:17:30 -0800 Subject: Use include_bytes! instead of incbin. (#1182) --- src/isolate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/isolate.rs') 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)>(); -- cgit v1.2.3