mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-17 02:52:12 +01:00
OP-1122 OP-1125 fixed object connection leak in TelemetryMonitor
At each board connection a new connection would be added to the firmwareIAPObj This would also cause some code to be later signaled mutliple times on board connection
This commit is contained in:
parent
ff14b8d28c
commit
9a24f12235
@ -179,6 +179,7 @@ void TelemetryMonitor::firmwareIAPUpdated(UAVObject *obj)
|
||||
QMutexLocker locker(mutex);
|
||||
|
||||
if (firmwareIAPObj->getBoardType() != 0) {
|
||||
disconnect(firmwareIAPObj);
|
||||
emit connected();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user