We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I see some pages ues time.Tick() like:
for range time.Tick(time.Second) { }
will this cause memory leak?
The text was updated successfully, but these errors were encountered:
If it is used as expected, the answer should be no.
Sorry, something went wrong.
https://golang.org/src/time/tick.go?s=1752:1785#L44
is that function make a new channel every loop? or just one channel in every loop
This issue seems to be a question about how to use Go, rather than a feature request or defect report about the Go language and/or toolchain.
We have decided that our experiment to allow questions on the issue tracker has not had the outcome we desired, so I am closing this issue. I'm sorry that we can't answer your question here.
There are many other methods to get help if you're still looking for answers:
The golang-nuts mailing list.
Stack Overflow, with questions tagged go.
go
The Go Forum, a web-based forum hosted by GoBridge.
The Gophers Slack hosted by GopherAcademy; use the invite app for access. The #general channel is a good starting point.
#general
Go Community on Hashnode with questions and posts tagged with "go"
IRC channel #go-nuts on Freenode
Thanks
No branches or pull requests
I see some pages ues time.Tick() like:
for range time.Tick(time.Second) {
}
will this cause memory leak?
The text was updated successfully, but these errors were encountered: