Commit 70d81ad3 authored by Don Gagne's avatar Don Gagne

Disconnect timer on link disconnect

This prevents mavlink signals from being emitted after link is
parent 09818685
......@@ -137,6 +137,10 @@ void MockLink::run(void)
QObject::disconnect(&_timer1HzTasks, &QTimer::timeout, this, &MockLink::_run1HzTasks);
QObject::disconnect(&_timer10HzTasks, &QTimer::timeout, this, &MockLink::_run10HzTasks);
QObject::disconnect(&_timer50HzTasks, &QTimer::timeout, this, &MockLink::_run50HzTasks);
void MockLink::_run1HzTasks(void)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment