danielnilsson9 / bbs-fw

Open source firmware for multiple electric bike motor controllers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handler should be removed from DataReceived on close

SirRufo opened this issue · comments

In the Close method this line

_port.DataReceived += OnDataReceived;

should be

_port.DataReceived -= OnDataReceived;