You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use dynamically created object with ESPAsyncE131 *e131; ... e131 = new ESPAsyncE131(UNIVERSE_COUNT);
and use it until necessary.
Next when I need to change params for object (for example amount of universe, start universe, etc.) I destroy object with delete[] e131 and try to re-create it and almost immediately have a crash with either wdt error or an error of access to invalid memory area.
I didn`t see in code of library any destructor and free buffers code.
Which is the correct way to destroy object and/or re-create it with changed parameters?
The text was updated successfully, but these errors were encountered:
I use dynamically created object with
ESPAsyncE131 *e131; ... e131 = new ESPAsyncE131(UNIVERSE_COUNT);
and use it until necessary.
Next when I need to change params for object (for example amount of universe, start universe, etc.) I destroy object with
delete[] e131
and try to re-create it and almost immediately have a crash with either wdt error or an error of access to invalid memory area.I didn`t see in code of library any destructor and free buffers code.
Which is the correct way to destroy object and/or re-create it with changed parameters?
The text was updated successfully, but these errors were encountered: