Changeset c93262


Ignore:
Timestamp:
May 8, 2010, 10:59:14 PM (15 years ago)
Author:
Frederik Heber <heber@…>
Children:
b918031
Parents:
a37c37
Message:

FIX: cleanup() still deleted configuration although is part of the World now.

  • note: HelpAction is working! (i.e. molecuilder -h, or molecuilder --help prints help and exits)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/builder.cpp

    ra37c37 rc93262  
    25142514/********************************************** Main routine **************************************/
    25152515
    2516 void cleanUp(config *configuration){
     2516void cleanUp(){
    25172517  UIFactory::purgeInstance();
    25182518  World::purgeInstance();
    2519   delete(configuration);
    25202519  Log() << Verbose(0) <<  "Maximum of allocated memory: "
    25212520    << MemoryUsageObserver::getInstance()->getMaximumUsedMemory() << endl;
     
    25692568        Log() << Verbose(0) << "Saving of elements.db failed." << endl;
    25702569
    2571   cleanUp(configuration);
     2570  cleanUp();
    25722571
    25732572  Memory::getState();
Note: See TracChangeset for help on using the changeset viewer.