Changeset 5732


Ignore:
Timestamp:
Aug 6, 2009, 10:14:06 AM (15 years ago)
Author:
mies
Message:
 
Location:
source/ariba/overlay/modules/chord
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/overlay/modules/chord/Chord.cpp

    r5721 r5732  
    468468                                if (it->ref_count == 0 && !it->info.isUnspecified()) {
    469469                                        logging_info("Dropping orphaned link " << it->info.toString() << " to " << it->id.toString());
    470                                         baseoverlay.dropLink(it->info);
    471                                         it->info = LinkID::UNSPECIFIED;
     470                                        table->insert(it->id);
     471                                        if (it->ref_count==0) {
     472                                                baseoverlay.dropLink(it->info);
     473                                                it->info = LinkID::UNSPECIFIED;
     474                                        }
    472475                                }
    473476                        }
  • source/ariba/overlay/modules/chord/detail/minimizer_table.hpp

    r5648 r5732  
    132132                for (iterator i = super::begin(); i != super::end(); i++)
    133133                if (*i == value) {
    134                         listener.on_table( table_listener::remove, *this, i );
     134//                      listener.on_table( table_listener::remove, *this, i );
    135135                        super::erase(i);
    136136                        return true;
Note: See TracChangeset for help on using the changeset viewer.