Skip to content
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

Releaseable Browser pool allows Umbra to shut down all browsingThread… #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

blekinge
Copy link

When we do a shutdown, we would like to shutdown all browsers, not just the ones we still have references to.
It turned out that the browserpool did not have a release_all method (or rather it did have one, but this method took a list of the browsers to shut down). So I created a subclass that did have a release_all method

@nlevitt
Copy link
Contributor

nlevitt commented May 16, 2019

Can you talk a little about the rationale for this? I think your new method means something different with the word "release" than the other ones do. Your method is very similar to shutdown_now(), why not use that one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants