Skip to content

Clean shutdown#224

Merged
liveh2o merged 2 commits intoruby-protobuf:3-3-stablefrom
quixoten:clean_shutdown
Oct 10, 2014
Merged

Clean shutdown#224
liveh2o merged 2 commits intoruby-protobuf:3-3-stablefrom
quixoten:clean_shutdown

Conversation

@quixoten
Copy link
Copy Markdown
Contributor

@quixoten quixoten commented Oct 9, 2014

Add resiliency against possible hanging on shutdown. The only change that's needed to resolve the cases we've seen is the addition of exit 0 to the cli.rb. The other modifications are preemptive fixes to other paths that could lead to a hanging shutdown.

RFC @liveh2o @abrandoned @localshred

@liveh2o
Copy link
Copy Markdown
Contributor

liveh2o commented Oct 9, 2014

Seems reasonable to me. Any idea why Travis CI is failing?

@quixoten
Copy link
Copy Markdown
Contributor Author

quixoten commented Oct 9, 2014

Looks related to setup on ruby 2.0

An error occurred while installing perftools.rb (2.0.1), and Bundler cannot continue.

@liveh2o
Copy link
Copy Markdown
Contributor

liveh2o commented Oct 9, 2014

Yeah, I saw that after I posted my comment. I just wanted to make sure we didn't break specs right after we got them all working again.

@brianstien
Copy link
Copy Markdown
Contributor

@localshred bump on this, it would be really nice to get released!

liveh2o added a commit that referenced this pull request Oct 10, 2014
@liveh2o liveh2o merged commit f251bb0 into ruby-protobuf:3-3-stable Oct 10, 2014
@tamird
Copy link
Copy Markdown
Contributor

tamird commented Nov 24, 2014

@liveh2o take another look - the reason the specs are passing here is because they're not really running at all. I fixed this on master some time ago.

@liveh2o
Copy link
Copy Markdown
Contributor

liveh2o commented Nov 24, 2014

That would explain why the specs started failing in 3-3-stable when I tried to pull in your spec fixes from master. I'll see what I can do.

@tamird
Copy link
Copy Markdown
Contributor

tamird commented Nov 24, 2014

Can you please unbreak master for the time being?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants