- IED server: control models - fixed bug that only one control is unselected when connection closes

pull/314/head
Michael Zillgith 5 years ago
parent bdaa7bac93
commit 0ed371d484

@ -2362,8 +2362,7 @@ unselectControlsForConnection(MmsMapping* self, MmsServerConnection connection)
while (controlObjectElement != NULL) { while (controlObjectElement != NULL) {
ControlObject* controlObject = (ControlObject*) controlObjectElement->data; ControlObject* controlObject = (ControlObject*) controlObjectElement->data;
if (ControlObject_unselect(controlObject, connection)) ControlObject_unselect(controlObject, connection);
break;
controlObjectElement = LinkedList_getNext(controlObjectElement); controlObjectElement = LinkedList_getNext(controlObjectElement);
} }

Loading…
Cancel
Save