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.
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.