fix(smartpdf): clean up SmartNetwork instances during port selection and shutdown

This commit is contained in:
2026-04-30 11:50:38 +00:00
parent d26608b4fa
commit 34aeaf7f1b
3 changed files with 46 additions and 25 deletions
+7
View File
@@ -1,5 +1,12 @@
# Changelog
## 2026-04-30 - 4.2.2 - fix(smartpdf)
clean up SmartNetwork instances during port selection and shutdown
- stores the temporary SmartNetwork instance used for port discovery so it can be stopped reliably
- wraps port availability checks and free-port lookup in a finally block to ensure cleanup on success or failure
- extends shutdown logic to stop any remaining SmartNetwork instance alongside the SmartServe server
## 2026-04-30 - 4.2.1 - fix(smartpdf)
harden browser lifecycle, port handling, and PDF result metadata