(file) Return to CMPIProvider.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ProviderManager2 / CMPI

Diff for /pegasus/src/Pegasus/ProviderManager2/CMPI/CMPIProvider.cpp between version 1.32.6.6 and 1.32.6.7

version 1.32.6.6, 2007/10/29 07:40:15 version 1.32.6.7, 2007/12/10 11:53:56
Line 359 
Line 359 
        }        }
     }     }
  
     if (unloadStatus != CMPI_RC_OK)      if (unloadStatus == CMPI_RC_OK)
     {  
         // Cleanup the class cache  
         {         {
            WriteLock writeLock (broker.rwsemClassCache);  
   
            if (broker.clsCache) {  
               ClassCache::Iterator i=broker.clsCache->start();  
               for (; i; i++) {  
                  delete i.value();  
               }  
               delete broker.clsCache;  
               broker.clsCache=NULL;  
            }  
         }  
  
           // Check the thread list to make sure the thread has been de-allocated           // Check the thread list to make sure the thread has been de-allocated
           if (_threadWatchList.size() != 0)           if (_threadWatchList.size() != 0)
Line 428 
Line 415 
  
           // Wait until all of the threads have been cleaned.           // Wait until all of the threads have been cleaned.
           waitUntilThreadsDone();           waitUntilThreadsDone();
             // Cleanup the class cache
             {
                WriteLock writeLock (broker.rwsemClassCache);
   
                if (broker.clsCache) {
                   ClassCache::Iterator i=broker.clsCache->start();
                   for (; i; i++) {
                      delete i.value();
                   }
                   delete broker.clsCache;
                   broker.clsCache=NULL;
                }
             }
     }     }
 } }
  


Legend:
Removed from v.1.32.6.6  
changed lines
  Added in v.1.32.6.7

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2