Skip to content

Commit

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

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

super.stop();
Expand Down

0 comments on commit c12e889

Please sign in to comment.