readest/apps/readest-app/extensions
Huang Xin 6ec9dbd237
fix(windows): stop the PDF preview pane from freezing Explorer, closes #6590 (#6594)
* fix(windows): stop the PDF preview pane from freezing Explorer, closes #6590

prevhost.exe calls preview handlers on an STA thread, and opening or
rendering a PDF there blocked on Windows.Data.Pdf async operations with
join(), which waits without pumping messages. The wait never ended, and
Explorer, whose window hosts the preview, hung with it.

Run the PDF work on a thread in the multithreaded apartment instead,
keeping the MTA alive so the opened document stays usable between page
turns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(windows): return the MTA keep-alive error before spawning the PDF thread

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 13:36:14 +02:00
..
send-to-readest feat(send): clip locally opened html and xhtml pages with the browser extension (#5512) 2026-08-05 16:36:22 +02:00
windows-thumbnail fix(windows): stop the PDF preview pane from freezing Explorer, closes #6590 (#6594) 2026-10-03 13:36:14 +02:00