diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-01-22 20:18:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-22 20:18:01 +0100 |
commit | bd9561f4de8f940ce6ed8b5eedfa84161a749c54 (patch) | |
tree | 20bc23c294aa3031fe4729dc09e03351ec6097f4 /core/isolate.rs | |
parent | 3c47718959fb38d51e34c64d423151b5326bae3a (diff) |
Reland "Create an old program to be used in snapshot." (#3747)
* read CLI assets from disk during snapshotting
Diffstat (limited to 'core/isolate.rs')
-rw-r--r-- | core/isolate.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/isolate.rs b/core/isolate.rs index ebd25b82a..fc0d5899b 100644 --- a/core/isolate.rs +++ b/core/isolate.rs @@ -680,6 +680,7 @@ impl Isolate { let mut hs = v8::HandleScope::new(locker.enter()); 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 |