diff options
Diffstat (limited to 'testing/embedder_test.cpp')
-rw-r--r-- | testing/embedder_test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/embedder_test.cpp b/testing/embedder_test.cpp index ee2ad086a7..ba33ca6e49 100644 --- a/testing/embedder_test.cpp +++ b/testing/embedder_test.cpp @@ -173,6 +173,8 @@ void EmbedderTest::TearDown() { FPDF_CloseDocument(document_); FPDFDOC_ExitFormFillEnvironment(form_handle_); } + while (v8::platform::PumpMessageLoop(platform_, v8::Isolate::GetCurrent())) + continue; FPDFAvail_Destroy(avail_); FPDF_DestroyLibrary(); v8::V8::ShutdownPlatform(); |