mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
Remove destructor
This commit is contained in:
parent
e12a5e95bf
commit
bc8e22669e
1 changed files with 0 additions and 5 deletions
|
|
@ -80,11 +80,6 @@ namespace PepperDash.Essentials.Core
|
|||
Port.SerialDataReceived += Port_SerialDataReceived;
|
||||
}
|
||||
|
||||
~ComPortController()
|
||||
{
|
||||
Port.SerialDataReceived -= Port_SerialDataReceived;
|
||||
}
|
||||
|
||||
void Port_SerialDataReceived(ComPort ReceivingComPort, ComPortSerialDataEventArgs args)
|
||||
{
|
||||
OnDataReceived(args.SerialData);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue