From 4713f55a29d2ca6ae2ad4b90e1e6253bd5075a12 Mon Sep 17 00:00:00 2001 From: Alexei Barantsev Date: Wed, 11 Mar 2020 23:16:44 +0300 Subject: [PATCH] [grid] Stop driver server when session is over. Fixes #7989 --- .../selenium/grid/node/config/DriverServiceSessionFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/server/src/org/openqa/selenium/grid/node/config/DriverServiceSessionFactory.java b/java/server/src/org/openqa/selenium/grid/node/config/DriverServiceSessionFactory.java index 0bdf7284e8a9e..fb28a1cfcf6f2 100644 --- a/java/server/src/org/openqa/selenium/grid/node/config/DriverServiceSessionFactory.java +++ b/java/server/src/org/openqa/selenium/grid/node/config/DriverServiceSessionFactory.java @@ -99,7 +99,7 @@ public Optional apply(CreateSessionRequest sessionRequest) { new ImmutableCapabilities((Map)response.getValue())) { @Override public void stop() { - // no-op + service.stop(); } }); } catch (Exception e) {