fix: prevent Chromium zombie leak in htmlToPdf

- Wrap browser lifecycle in try/finally so browser.close() always runs
- Fall back to SIGKILL of browser.process() if close() fails
- Add --disable-dev-shm-usage to launch args (container stability)
- Add tini as ENTRYPOINT in Dockerfile for defense in depth
- Bump version to 1.0.2
This commit is contained in:
alexz
2026-04-11 14:59:50 +00:00
parent 6cac4d16e0
commit 43152351fa
3 changed files with 45 additions and 34 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "md2html",
"version": "1.0.0",
"version": "1.0.2",
"description": "",
"main": "index.js",
"scripts": {