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

修改循环下启动线程bug #1

Merged
merged 1 commit into from Sep 8, 2017
Merged

Conversation

easoninus
Copy link
Contributor

循环下开启go线程,匿名函数用到外部变量,需把参数传入,否则匿名函数里的变量有可能已不是当前循环下的变量

循环下开启go线程,匿名函数用到外部变量,需把参数传入,否则匿名函数里的变量有可能已不是当前循环下的变量
@howie6879 howie6879 merged commit 43cf656 into howie6879:master Sep 8, 2017
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.

None yet

2 participants