Changeset 178:fcc96a2084f9 in finroc_plugins_data_ports


Ignore:
Timestamp:
25.03.2021 07:55:10 (4 weeks ago)
Author:
Max Reichardt <max.reichardt@…>
Branch:
17.03
Phase:
public
Tags:
tip
Message:

Disables connection-loss notification on ports of components to be deleted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/tAbstractDataPort.cpp

    r165 r178  
    195195void tAbstractDataPort::OnNetworkConnectionLoss() 
    196196{ 
    197   if (GetFlag(tFlag::DEFAULT_ON_DISCONNECT)) 
     197  if (GetFlag(tFlag::DEFAULT_ON_DISCONNECT) && IsReady() && (!GetParentWithFlags(tFlag::DELETED))) 
    198198  { 
    199199    ApplyDefaultValue(); 
Note: See TracChangeset for help on using the changeset viewer.