Changeset 311:20f2de87d6e4 in finroc_core-java


Ignore:
Timestamp:
14.01.2019 17:49:40 (3 years ago)
Author:
Max Reichardt <max.reichardt@…>
Branch:
17.03
Children:
312:3c7d085a8111, 313:92d12dd9e54c
Phase:
public
Message:

Fixes order of remote port initialization (could trigger assertion - but otherwise no problem)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • net/generic_protocol/RemoteRuntime.java

    r296 r311  
    767767                } 
    768768                if (complete) { 
     769                    port.getPort().setInitializerThread(Thread.currentThread().getId()); 
    769770                    for (int j = 0; j < remotePorts.length; j++) { 
    770771                        port.getPort().setName(createPortName(remotePorts[j]), j); 
    771772                    } 
    772                     port.getPort().setInitializerThread(Thread.currentThread().getId()); 
    773773                    port.getPort().init(); 
    774774                    uninitializedRemotePorts.remove(i); 
Note: See TracChangeset for help on using the changeset viewer.