Changeset 20633

Show
Ignore:
Timestamp:
08/08/07 10:09:47 (1 year ago)
Author:
patrick
Message:

De-inline the destructor. There is no point in having it inlined in my
opinion, and this makes it easier to debug.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/branches/2.2/modules/tweek/tweek/CORBA/CorbaManager.cpp

    r19729 r20633  
    6868      << std::string(tweek_ver.length() + 14, '=') << std::endl 
    6969      << vprDEBUG_FLUSH; 
     70} 
     71 
     72CorbaManager::~CorbaManager() 
     73{ 
     74   shutdown(); 
     75 
     76   if ( mOrbThread != NULL ) 
     77   { 
     78      delete mOrbThread; 
     79      mOrbThread = NULL; 
     80   } 
    7081} 
    7182 
     
    477488//   mORB->destroy(); 
    478489 
    479    vprDEBUG(tweekDBG_CORBA, vprDBG_STATE_LVL) << "Server has shut down\n" 
     490   vprDEBUG(tweekDBG_CORBA, vprDBG_CRITICAL_LVL) << "Server has shut down\n" 
    480491                                              << vprDEBUG_FLUSH; 
    481492} 
  • juggler/branches/2.2/modules/tweek/tweek/CORBA/CorbaManager.h

    r19729 r20633  
    7070    *       stopped. 
    7171    */ 
    72    ~CorbaManager() 
    73    { 
    74       shutdown(); 
    75  
    76       if ( mOrbThread != NULL ) 
    77       { 
    78          delete mOrbThread; 
    79          mOrbThread = NULL; 
    80       } 
    81    } 
     72   ~CorbaManager(); 
    8273 
    8374   /**