Skip to content

More stable handling of started browsers#74

Open
blekinge wants to merge 1 commit intointernetarchive:masterfrom
netarchivesuite:chrome_stability
Open

More stable handling of started browsers#74
blekinge wants to merge 1 commit intointernetarchive:masterfrom
netarchivesuite:chrome_stability

Conversation

@blekinge
Copy link

Reworked the starting and stopping of browsers to hopefully make the code more resistant to browser errors.

The major change is in
def browse_thread_run_then_cleanup():

where I open and close+release the resources (browser) the thread needs. By trusting in the try...finally construct, I can ensure that the browser is stopped and released when the thread completes.

@nlevitt
Copy link
Contributor

nlevitt commented May 17, 2019

Sorry for the delay getting to these pull requests by the way.

Can you talk about the impetus for this change? What went wrong? Do you have a stack trace? How are you using umbra?

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