Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4652 in orxonox.OLD for orxonox/trunk/src/util/garbage_collector.cc


Ignore:
Timestamp:
Jun 17, 2005, 10:15:06 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: taken the ObjectManager out of the important sections for a redesign

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/garbage_collector.cc

    r4597 r4652  
    121121          entity->remove();
    122122          /* then finaly delete reference */
    123           //delete entity;
    124           ObjectManager::getInstance()->addToDeadList(entity->getClassID() & CL_MASK_LOWLEVEL_CLASS, entity);
     123          delete entity;
     124          //ObjectManager::getInstance()->addToDeadList(entity->getClassID() & CL_MASK_LOWLEVEL_CLASS, entity);
    125125        }
    126126      entity = iterator->nextElement();
Note: See TracChangeset for help on using the changeset viewer.