mirror of
https://github.com/denoland/deno.git
synced 2025-01-08 15:19:40 -05:00
switch from kClear to kKeep
This commit is contained in:
parent
86dac80d98
commit
24dfbd1568
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ v8::StartupData MakeSnapshot(const char* js_filename, const char* js_source) {
|
|||
// Note that using kKeep here will cause segfaults. This is demoed in the
|
||||
// "SnapshotBug" test case.
|
||||
auto snapshot_blob =
|
||||
creator->CreateBlob(v8::SnapshotCreator::FunctionCodeHandling::kClear);
|
||||
creator->CreateBlob(v8::SnapshotCreator::FunctionCodeHandling::kKeep);
|
||||
|
||||
return snapshot_blob;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue