Quantcast
Channel: User Schwern - Stack Overflow
Viewing all articles
Browse latest Browse all 581

Comment by Schwern on Is this a goroutine Leak using Timer?

$
0
0
@pmoubed If it's just one routine, as in your question, it's not a leak any more than anything else allocated in main. If you're creating lots of them, then it's probably a leak. Like Volker said, "it depends"; your example is too vague to say what is the correct way to handle it so I gave options.

Viewing all articles
Browse latest Browse all 581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>