mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-18 19:46:27 -04:00
Fix NZXT Hue plus not freeing the serialport
This commit is contained in:
@@ -20,6 +20,7 @@ HuePlusController::HuePlusController()
|
||||
|
||||
HuePlusController::~HuePlusController()
|
||||
{
|
||||
delete serialport;
|
||||
}
|
||||
|
||||
void HuePlusController::Initialize(char* port)
|
||||
|
||||
@@ -96,7 +96,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string port_name;
|
||||
serial_port *serialport;
|
||||
serial_port *serialport = nullptr;
|
||||
|
||||
void SendPacket
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user