# File lib/capybara/poltergeist/client.rb, line 30 def stop if pid begin Process.kill('TERM', pid) Process.wait(pid) rescue Errno::ESRCH, Errno::ECHILD # Zed's dead, baby end @pid = nil end end