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