Skip to content

Commit b0a1e8d

Browse files
committed
fix #438
1 parent 4db6816 commit b0a1e8d

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

Changes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
Revision history for Selenium-Remote-Driver
22

3+
1.37 02-17-2019 TEODESIAN
4+
[BUG FIXES]
5+
- obey the auto_close flag in the direct drivers
6+
37
1.36 10-21-2019 TEODESIAN
48
[BUG FIXES]
59
- Adjust handling of chrome due to it implementing WC3 mostly correctly now

dist.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name = Selenium-Remote-Driver
2-
version = 1.36
2+
version = 1.37
33
author = George S. Baugh <george@troglodyne.net>
44
author = Aditya Ivaturi <ivaturi@gmail.com>
55
author = Daniel Gempesaw <gempesaw@gmail.com>

lib/Selenium/CanStartBinary.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,10 +410,10 @@ sub _handle_firefox_setup {
410410
sub shutdown_binary {
411411
my ($self) = @_;
412412

413-
if ( $self->auto_close && defined $self->session_id ) {
413+
return unless $self->auto_close();
414+
if ( defined $self->session_id ) {
414415
$self->quit();
415416
}
416-
417417
if ( $self->has_binary_mode && $self->binary_mode ) {
418418

419419
# Tell the binary itself to shutdown

0 commit comments

Comments
 (0)