Skip to content

Commit d3e7e38

Browse files
committed
Fixed timer reset on close
1 parent a5c7970 commit d3e7e38

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

qt/serial_port.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,7 @@ bool SerialPort::start(const char *portName, int baudRate)
182182
void SerialPort::stop()
183183
{
184184
if (timer)
185-
{
186185
timer->cancel();
187-
timer = nullptr;
188-
}
189186

190187
if (port)
191188
{

0 commit comments

Comments
 (0)