1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/reline] Remove unnecessary clearing signal handler

https://github.com/ruby/reline/commit/7a758e73dc
This commit is contained in:
aycabta 2021-12-20 18:46:08 +09:00 committed by git
parent e54e99bd16
commit 95c61c8d82

View file

@ -340,8 +340,6 @@ class Reline::ANSI
end
def self.deprep(otio)
int_handle = Signal.trap('INT', 'IGNORE')
Signal.trap('INT', int_handle)
Signal.trap('WINCH', @@old_winch_handler) if @@old_winch_handler
end
end