Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined method “shutdown” #27

Open
FranklinYu opened this issue May 24, 2019 · 1 comment
Open

Undefined method “shutdown” #27

FranklinYu opened this issue May 24, 2019 · 1 comment
Labels

Comments

@FranklinYu
Copy link

When I run Guard with -i/--no-interactions and then shutdown with Ctrl-C, following stack trace occurs:

Traceback (most recent call last):
	5: from /Users/franklinyu/.gem/ruby/2.5.5/gems/sinatra-2.0.5/lib/sinatra/main.rb:26:in `block in <module:Sinatra>'
	4: from (eval):1:in `run?'
	3: from /Users/franklinyu/.gem/ruby/2.5.5/gems/sinatra-2.0.5/lib/sinatra/main.rb:11:in `block in <class:Application>'
	2: from /Users/franklinyu/.gem/ruby/2.5.5/gems/sinatra-2.0.5/lib/sinatra/base.rb:1237:in `block in set'
	1: from /Users/franklinyu/.gem/ruby/2.5.5/gems/rack-2.0.6/lib/rack/server.rb:291:in `block in start'
/Users/franklinyu/.gem/ruby/2.5.5/gems/rack-2.0.6/lib/rack/handler/webrick.rb:48:in `shutdown': undefined method `shutdown' for nil:NilClass (NoMethodError)

Note that the process still exits. I’m just curious whether I should to worry about it.

@dblock dblock added the bug? label May 30, 2019
@dblock
Copy link
Owner

dblock commented May 30, 2019

Looks like a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants