diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-01-12 22:20:33 +1100 |
---|---|---|
committer | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-01-12 12:20:33 +0100 |
commit | 737ab94ea1bdf65eeef323ea37e84bcf430fb92c (patch) | |
tree | b6a239195a960557a5d32f1762886f77a71a9104 /core | |
parent | 8fac8ab130b3cb8a93d7e0e37fa1ea6ea4cc2e4a (diff) |
Create an old program to be used in snapshot. (#3644)
Diffstat (limited to 'core')
-rw-r--r-- | core/isolate.rs | 1 | ||||
-rw-r--r-- | core/shared_queue.js | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/core/isolate.rs b/core/isolate.rs index 372ef185d..5cbd5a5bf 100644 --- a/core/isolate.rs +++ b/core/isolate.rs @@ -672,6 +672,7 @@ impl Isolate { let mut hs = v8::HandleScope::new(&mut locker); let scope = hs.enter(); self.global_context.reset(scope); + self.shared_response_buf.reset(scope); let snapshot_creator = self.snapshot_creator.as_mut().unwrap(); let snapshot = snapshot_creator diff --git a/core/shared_queue.js b/core/shared_queue.js index aeffb5c93..430261511 100644 --- a/core/shared_queue.js +++ b/core/shared_queue.js @@ -180,7 +180,6 @@ SharedQueue Binary Layout } function dispatch(opId, control, zeroCopy = null) { - maybeInit(); return Deno.core.send(opId, control, zeroCopy); } |