summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/pdfium_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc
index 5147266c99..be126149ac 100644
--- a/samples/pdfium_test.cc
+++ b/samples/pdfium_test.cc
@@ -616,6 +616,8 @@ int main(int argc, const char* argv[]) {
if (!file_contents)
continue;
RenderPdf(filename, file_contents, file_length, options);
+ while (v8::platform::PumpMessageLoop(platform, v8::Isolate::GetCurrent()))
+ continue;
free(file_contents);
}