lib/specjour/loader.rb in specjour-0.6.4 vs lib/specjour/loader.rb in specjour-0.6.5
- old
+ new
@@ -116,14 +116,10 @@
ensure
::RSpec.reset
end
def kill_worker_processes
- if Specjour.interrupted?
- Process.kill('INT', *worker_pids) rescue Errno::ESRCH
- else
- Process.kill('KILL', *worker_pids) rescue Errno::ESRCH
- end
+ Process.kill('KILL', *worker_pids) rescue Errno::ESRCH
end
def connection
@connection ||= begin
at_exit { connection.disconnect }