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

WDT and network fix #45

Merged
merged 1 commit into from
Dec 17, 2023
Merged

WDT and network fix #45

merged 1 commit into from
Dec 17, 2023

Conversation

Laxilef
Copy link
Contributor

@Laxilef Laxilef commented Dec 16, 2023

Hi,

I think that before changing the context we should call ::yield() for the network to work correctly. When using WifiManager and Pubsubclient and context switching in tasks with these libraries, I observe memory leaks and heap fragmentation at random times.
I also sometimes see the watchdog timer triggering. This may be due to the network functions.

@nrwiersma nrwiersma merged commit 3030e2e into nrwiersma:master Dec 17, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants