Changeset 3067 for source/ariba/overlay/modules/onehop
- Timestamp:
- Apr 24, 2009, 10:04:11 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/modules/onehop/OneHop.cpp
r3057 r3067 146 146 logging_info( "leaving onehop overlay structure" ); 147 147 148 // set the state to invalid, this will prevent from 149 // handling onLinkDown events, as we are traversing the 150 // overlayNodes map and the onLinkDown function is called 151 // from the BaseOverlay and OneHop::onLinkDown will also 152 // try to access the overlayNodes structure. 153 state = OneHopStateInvalid; 154 148 155 // 149 156 // close all links, this will indicate the other nodes that we left … … 158 165 } 159 166 160 state = OneHopStateInvalid;161 167 pendingLinks = 0; 162 168 } … … 164 170 165 171 void OneHop::onLinkDown(const LinkID& lnk, const NodeID& remote){ 172 173 // don't handle when we are in state-invalid, 174 // see comment in OneHop::leaveOverlay 175 if( state == OneHopStateInvalid ) return; 166 176 167 177 //
Note:
See TracChangeset
for help on using the changeset viewer.