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

OnMenuFileExit()函数导致的内存泄漏问题 #4

Open
Alkaidcc opened this issue Nov 18, 2021 · 0 comments
Open

OnMenuFileExit()函数导致的内存泄漏问题 #4

Alkaidcc opened this issue Nov 18, 2021 · 0 comments

Comments

@Alkaidcc
Copy link

image
OnMenuFileExit()函数中使用了exit(0);来退出程序,导致了内存泄漏
image
或许可以使用PostQuitMessage(0);代替exit来退出。
当我使用PostQuitMessage(0);时,它没有出现内存泄漏的问题。

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

1 participant