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

当cmap中没有元素长度为0时,使用clear方法时,代码会hang住 #147

Open
roseqin368 opened this issue Nov 22, 2023 · 1 comment

Comments

@roseqin368
Copy link

排查记录:所以在使用clear方法时,先判断长度,长度为零不用动态清除数据

@helloteemo
Copy link

helloteemo commented May 8, 2024

@roseqin368 可以给下版本、复现代码吗?我没有复现出来

版本: v2.0.1

func main() {
	m := camp.New[string]()
	m.Clear()
	log.Print("ok")
}

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