diff options
Diffstat (limited to 'samples/pdfium_test.cc')
-rw-r--r-- | samples/pdfium_test.cc | 2 |
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); } |