We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 697414d commit f4b4ddaCopy full SHA for f4b4dda
lib/debug/session.rb
@@ -2524,7 +2524,7 @@ def daemon(*args)
2524
2525
module TrapInterceptor
2526
def trap sig, *command, &command_proc
2527
- case sig&.to_sym
+ case sig&.to_s&.to_sym
2528
when :INT, :SIGINT
2529
if defined?(SESSION) && SESSION.active? && SESSION.intercept_trap_sigint?
2530
return SESSION.save_int_trap(command.empty? ? command_proc : command.first)
0 commit comments