We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d33e28f commit 5c977d4Copy full SHA for 5c977d4
java/src/org/openqa/selenium/grid/node/local/LocalNode.java
@@ -175,10 +175,7 @@ private LocalNode(
175
regularly.submit(() -> bus.fire(new NodeHeartBeatEvent(getStatus())), heartbeatPeriod, heartbeatPeriod);
176
177
bus.addListener(SessionClosedEvent.listener(id -> {
178
- try {
179
- this.stop(id);
180
- } catch (NoSuchSessionException ignore) {
181
- }
+ // Listen to session terminated events so we know when to fire the NodeDrainComplete event
182
if (this.isDraining()) {
183
int done = pendingSessions.decrementAndGet();
184
if (done <= 0) {
0 commit comments