-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Renderer has zombie processes when PDF creation fails #8979
Labels
Bug
Something isn't working
Comments
fniessink
changed the title
Renderer has zombie processes when PDF creating fails
Renderer has zombie processes when PDF creation fails
Jun 14, 2024
fniessink
added a commit
that referenced
this issue
Jun 14, 2024
Prevent zombie browser processes when creating the PDF fails by moving browser.close() to a finally block of the try/catch. Closes #8979.
fniessink
added a commit
that referenced
this issue
Jun 14, 2024
Prevent zombie browser processes when creating the PDF fails by moving browser.close() to a finally block of the try/catch. Closes #8979.
fniessink
added a commit
that referenced
this issue
Jun 14, 2024
Prevent zombie browser processes by starting Chromium only once and opening and closing a new page for each render. Closes #8979.
fniessink
added a commit
that referenced
this issue
Jun 14, 2024
Prevent zombie browser processes by starting Chromium only once and opening and closing a new page for each render. Closes #8979.
fniessink
moved this from Development in progress
to Reviewing in progress
in Quality-time backlog
Jun 14, 2024
fniessink
added a commit
that referenced
this issue
Jun 15, 2024
Closing the Chromium browser in the renderer component after creating a PDF would not stop all browser child processes. Fixed by starting Chromium only once and reusing, instead of starting a new browser for each render. Fixes #8979.
fniessink
added a commit
that referenced
this issue
Jun 15, 2024
Closing the Chromium browser in the renderer component after creating a PDF would not stop all browser child processes. Fixed by starting Chromium only once and reusing, instead of starting a new browser for each render. Fixes #8979.
github-project-automation
bot
moved this from Reviewing in progress
to Merged
in Quality-time backlog
Jun 15, 2024
fniessink
moved this from Release candidate released
to Released
in Quality-time backlog
Jul 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When PDF creation fails, the browser processes are not killed.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
The browser processes should be killed regardless of whether PDF creation succeeds or not.
Solution
Close the browser in the finally branch of a try/catch statement.
The text was updated successfully, but these errors were encountered: