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

[Question for Improvement]: replace new and delete/[] by the Smart Pointers #919

Open
hasenradball opened this issue Nov 26, 2024 · 0 comments

Comments

@hasenradball
Copy link
Contributor

@earlephilhower @Links2004 ,

Hey two guys ,

I am using this repo in my project and I observe very often that the Web part does not react any more.
So it is like the server is gone in a way but the chip (here the ESP8266) shows connected to the wifi.
I saw the release infos and looked into the code.

So I came to the idea, would it not be a good thing to replace the new and delete by the Smart pointers like std::unique_ptr and it friends to prevent from memory leakage in future.
Memory leakage is difficult to detect, so I think it would be a good point.

What do you mean about this?

Frank

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