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

Singleton 单例模式的一个问题 #12

Open
liuping001 opened this issue Dec 22, 2016 · 1 comment
Open

Singleton 单例模式的一个问题 #12

liuping001 opened this issue Dec 22, 2016 · 1 comment

Comments

@liuping001
Copy link

在Singleton的析构函数中delete instance;不是会形成一个死循环吗?

@lty2226262
Copy link

对,他这个写的有问题

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