Skip to content

Commit

Permalink
Reset driver and vncRecordingContainer when Selenium container stops (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasstadler committed May 18, 2022
1 parent b8d75b1 commit 6dc05d3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ public void stop() {
} catch (Exception e) {
LOGGER.debug("Failed to quit the driver", e);
}
driver = null;
}

if (vncRecordingContainer != null) {
Expand All @@ -326,6 +327,7 @@ public void stop() {
} catch (Exception e) {
LOGGER.debug("Failed to stop vncRecordingContainer", e);
}
vncRecordingContainer = null;
}

super.stop();
Expand Down

0 comments on commit 6dc05d3

Please sign in to comment.