We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6026ead commit c27de64Copy full SHA for c27de64
src/main/ruby/truffleruby/core/main.rb
@@ -73,7 +73,7 @@ def to_s
73
# Use vm_watch_signal directly as those should be the 'DEFAULT' handlers
74
75
if Truffle::Boot.get_option('platform-handle-interrupt')
76
- Primitive.vm_watch_signal 'INT', -> do
+ Primitive.vm_watch_signal 'INT', ->(_) do
77
if Truffle::Boot.get_option('backtraces-on-interrupt')
78
puts 'Interrupting...'
79
show_backtraces.call
@@ -84,7 +84,7 @@ def to_s
84
end
85
86
if Truffle::Boot.get_option('backtraces-sigalrm')
87
- Primitive.vm_watch_signal 'ALRM', -> do
+ Primitive.vm_watch_signal 'ALRM', ->(_) do
88
89
90
0 commit comments