Skip to content

Commit 5fd6c67

Browse files
committed
int 3 kill
1 parent d84bb7b commit 5fd6c67

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/browserstack/local.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,11 @@ def isRunning
9393

9494
def stop
9595
return if @pid.nil?
96-
Process.kill("TERM", @pid)
96+
Process.kill("INT", @pid)
97+
sleep 3
98+
Process.kill("KILL", @pid)
9799
@process.close
98-
while true
99-
break if !self.isRunning
100+
while self.isRunning
100101
sleep 1
101102
end
102103
end

0 commit comments

Comments
 (0)