Index: src/v8.cc |
diff --git a/src/v8.cc b/src/v8.cc |
index bc1fb2e2fb4bad263be67c8b206c2070dbdd3aa5..afe8e4b0551bafe9e2338150109aa3836ee6737e 100644 |
--- a/src/v8.cc |
+++ b/src/v8.cc |
@@ -98,6 +98,7 @@ void V8::TearDown() { |
call_completed_callbacks_ = NULL; |
Sampler::TearDown(); |
+ Serializer::TearDown(); |
#ifdef V8_USE_DEFAULT_PLATFORM |
DefaultPlatform* platform = static_cast<DefaultPlatform*>(platform_); |
@@ -172,6 +173,7 @@ void V8::RunMicrotasks(Isolate* isolate) { |
void V8::InitializeOncePerProcessImpl() { |
FlagList::EnforceFlagImplications(); |
+ Serializer::InitializeOncePerProcess(); |
if (FLAG_predictable && FLAG_random_seed == 0) { |
// Avoid random seeds in predictable mode. |