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

[INVALID]TC_TimeProvider类单例使用后没有关闭线程 #242

Open
JanuarYJL opened this issue Jun 8, 2022 · 1 comment
Open

[INVALID]TC_TimeProvider类单例使用后没有关闭线程 #242

JanuarYJL opened this issue Jun 8, 2022 · 1 comment

Comments

@JanuarYJL
Copy link
Contributor

image
image
TC_TimeProvider::getInstance()单例使用后在退出时没有主动释放资源和使用的线程,terminate()函数是protected,无法主动调用,没有渠道手动释放。

@ruanshudong
Copy link
Contributor

这个是个单例, 没考虑让他退出, 是有这个需求?

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

No branches or pull requests

2 participants