version 1.32.6.6, 2007/10/29 07:40:15
|
version 1.32.6.7, 2007/12/10 11:53:56
|
|
|
} | } |
} | } |
| |
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) |
|
|
| |
// 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; |
|
} |
|
} |
} | } |
} | } |
| |