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
实例中的代码应该不会造成泄露吧?main函数结束后所有Goroutine无论如何都会退出,应该是子函数起的Goroutine,子函数退出后Goroutine会泄露
The text was updated successfully, but these errors were encountered:
所谓的内存泄漏是指进程还没有死的时候。如果main函数退出进程就死了,泄漏也不是问题了
Sorry, something went wrong.
No branches or pull requests
实例中的代码应该不会造成泄露吧?main函数结束后所有Goroutine无论如何都会退出,应该是子函数起的Goroutine,子函数退出后Goroutine会泄露
The text was updated successfully, but these errors were encountered: