Module: Rack::TestServer::PumaSignalTrapInterceptor

Defined in:
lib/rack/test_server/puma_signal_trap_interceptor.rb

Instance Method Summary collapse

Instance Method Details

#setup_signalsObject



6
7
8
9
10
11
12
# File 'lib/rack/test_server/puma_signal_trap_interceptor.rb', line 6

def setup_signals
  # Disable SIGINT handler in Puma.
  # https://github.com/puma/puma/blob/v5.5.0/lib/puma/launcher.rb#L485
  SignalTrapInterceptor.enable
  super
  SignalTrapInterceptor.disable
end