Changeset 276:059dcaefd789 in finroc_core-java


Ignore:
Timestamp:
01.07.2017 02:04:03 (22 months ago)
Author:
Max Reichardt <max.reichardt@…>
Branch:
17.03
Phase:
public
Message:

Ensures that remote runtime's list with elements in error state contains each element only once

File:
1 edited

Legend:

Unmodified
Added
Removed
  • remote/RemoteRuntime.java

    r273 r276  
    848848                connector.currentPartner = null; 
    849849                RemotePort errorPort = getRemotePort(connector.getOwnerPortHandle()); 
    850                 if (errorPort != null) { 
     850                if (errorPort != null && (!elementsInErrorState.contains(errorPort))) { 
    851851                    elementsInErrorState.add(errorPort); 
    852852                } 
Note: See TracChangeset for help on using the changeset viewer.