[tests] Clear ro-heap after ReinitializeStringHashSeed isolate has been disposed

Bug: v8:7464
Change-Id: I522efa3718d04398d2096262a5507b1eb3cfd28a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1611546
Reviewed-by: Dan Elphick <delphick@chromium.org>
Commit-Queue: Maciej Goszczycki <goszczycki@google.com>
Cr-Commit-Position: refs/heads/master@{#61496}
This commit is contained in:
Maciej Goszczycki 2019-05-14 18:23:02 +01:00 committed by Commit Bot
parent 4d05884e7f
commit 92337f242b

View File

@ -6310,8 +6310,8 @@ UNINITIALIZED_TEST(ReinitializeStringHashSeed) {
CHECK(!context.IsEmpty());
v8::Context::Scope context_scope(context);
}
ReadOnlyHeap::ClearSharedHeapForTest();
isolate->Dispose();
ReadOnlyHeap::ClearSharedHeapForTest();
}
}