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
This line of code causes an event handler to be subscribed to an event. This occurs on every chunk of data that gets passed, which will likely cause a memory leak over time.
Hardware
Not Applicable
Connection Type
Serial
Firmware Version
2.4.x
Description
This line of code causes an event handler to be subscribed to an event. This occurs on every chunk of data that gets passed, which will likely cause a memory leak over time.
https://github.com/benbrown/meshtastic-js/blob/c6c26f1a153e9d7e5ca0a7bdd4cb8031cce6fff4/src/utils/transformHandler.ts#L16
This should happen outside of the actual chunk handler.
Relevant console output
No response
The text was updated successfully, but these errors were encountered: