1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Issue 3775 - Fixed Ctrl-C exception on Windows.

This commit is contained in:
Bernica 2018-02-26 14:54:21 -03:00 committed by Mike Perham
parent e18d9aca2f
commit 6b3e453eef

View file

@ -64,7 +64,7 @@ module Sidekiq
sigs.each do |sig| sigs.each do |sig|
begin begin
trap sig do trap sig do
self_write.puts(sig) self_write.write("#{sig}\n")
end end
rescue ArgumentError rescue ArgumentError
puts "Signal #{sig} not supported" puts "Signal #{sig} not supported"