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

fix: Check for nil ServerCloser in shutdown handler #7048

Merged
merged 2 commits into from
Dec 7, 2020

Conversation

ajeetdsouza
Copy link
Contributor

@ajeetdsouza ajeetdsouza commented Dec 2, 2020

The shutdown handler was attempting to signal a possible nil ServerCloser, causing panics on early Ctrl-C. This PR fixes that.


This change is Reviewable

@netlify
Copy link

netlify bot commented Dec 2, 2020

Deploy preview for dgraph-docs ready!

Built with commit 7229933

https://deploy-preview-7048--dgraph-docs.netlify.app

Copy link
Contributor

@jarifibrahim jarifibrahim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test it thoroughly

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

Successfully merging this pull request may close these issues.

2 participants