1
0
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:
Philippe Renon 2013-12-11 22:42:27 +01:00
parent ff14b8d28c
commit 9a24f12235

View File

@ -179,6 +179,7 @@ void TelemetryMonitor::firmwareIAPUpdated(UAVObject *obj)
QMutexLocker locker(mutex);
if (firmwareIAPObj->getBoardType() != 0) {
disconnect(firmwareIAPObj);
emit connected();
}
}