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

add nil check and correct some comments #1013

Merged
merged 3 commits into from
Apr 3, 2018
Merged

add nil check and correct some comments #1013

merged 3 commits into from
Apr 3, 2018

Conversation

wuxiangzhou2010
Copy link
Contributor

No description provided.

stats.go Outdated
s.Lock()
defer s.Unlock()

s.StatManager.Close()
Copy link
Contributor

Choose a reason for hiding this comment

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

s.StatManager may be nil.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, I modified accordingly.

@DarienRaymond DarienRaymond merged commit 8bc20c8 into v2ray:master Apr 3, 2018
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.

2 participants