mirror of
https://github.com/thoughtbot/capybara-webkit
synced 2023-03-27 23:22:28 -04:00
Rescue from Errno::ESRCH in the exit hook in case webkit_server has already ended.
This commit is contained in:
parent
9a8279a38a
commit
701566341c
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,8 @@ module Capybara::Webkit
|
|||
else
|
||||
Process.kill("INT", @pid)
|
||||
end
|
||||
rescue Errno::ESRCH
|
||||
# This just means that the webkit_server process has already ended
|
||||
end
|
||||
|
||||
def discover_port
|
||||
|
|
Loading…
Add table
Reference in a new issue