Changeset 343:4b30c9baaf97 in finroc_core-java


Ignore:
Timestamp:
12.12.2020 13:57:05 (4 months ago)
Author:
Max Reichardt <max.reichardt@…>
Branch:
default
Phase:
public
Message:

Never adds unconnected optional connectors to elements in error state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • remote/RemoteRuntime.java

    r340 r343  
    990990                continue; 
    991991            } 
    992             if (connector.getStatus() != RemoteUriConnector.Status.CONNECTED) { 
     992            if (connector.getStatus() != RemoteUriConnector.Status.CONNECTED && (connector.getRemoteConnectOptions().flags & RemoteConnectOptions.OPTIONAL) == 0) { 
    993993                connector.currentPartner = null; 
    994994                RemotePort errorPort = getRemotePort(connector.getOwnerPortHandle()); 
Note: See TracChangeset for help on using the changeset viewer.