terminateEmbedPdfWorker static method
Terminates the EmbedPDF worker so the watchdog can fall back to PDF.js.
Implementation
static Future<void> terminateEmbedPdfWorker() =>
EmbedPdfEngineView.debugTerminateWorker?.call() ?? Future<void>.value();