summaryrefslogtreecommitdiff
path: root/src/isolate.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-11-12 17:17:30 -0800
committerGitHub <noreply@github.com>2018-11-12 17:17:30 -0800
commit92e404706b0b1a26cdaf6f8cf81aac148292557f (patch)
tree96a5d48b7dc6cddb6068d57dbffd88abb2e791f9 /src/isolate.rs
parent0c740ff85d855177d1619276154f63a36ed31557 (diff)
Use include_bytes! instead of incbin. (#1182)
Diffstat (limited to 'src/isolate.rs')
-rw-r--r--src/isolate.rs2
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)>();