Merge pull request #4583 from reitermarkus/unneeded-rubocop-comment
Remove unneeded RuboCop comment.
This commit is contained in:
commit
96eb404af9
@ -26,11 +26,8 @@ module Utils
|
|||||||
ignore_interrupts(:quietly) do # the child will receive the interrupt and marshal it back
|
ignore_interrupts(:quietly) do # the child will receive the interrupt and marshal it back
|
||||||
begin
|
begin
|
||||||
socket = server.accept_nonblock
|
socket = server.accept_nonblock
|
||||||
# rubocop:disable Lint/ShadowedException
|
|
||||||
# FIXME: https://github.com/bbatsov/rubocop/issues/4843
|
|
||||||
rescue Errno::EAGAIN, Errno::EWOULDBLOCK, Errno::ECONNABORTED, Errno::EPROTO, Errno::EINTR
|
rescue Errno::EAGAIN, Errno::EWOULDBLOCK, Errno::ECONNABORTED, Errno::EPROTO, Errno::EINTR
|
||||||
retry unless Process.waitpid(pid, Process::WNOHANG)
|
retry unless Process.waitpid(pid, Process::WNOHANG)
|
||||||
# rubocop:enable Lint/ShadowedException
|
|
||||||
else
|
else
|
||||||
socket.send_io(write)
|
socket.send_io(write)
|
||||||
socket.close
|
socket.close
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user