fix comment and tiny optimisation for shutdown.
Change-Id: I94e0f55f7fc38529a9ab165786efaf7ac649a9d3
This commit is contained in:
@@ -270,7 +270,9 @@ TypeDescriptor_Init_Impl::~TypeDescriptor_Init_Impl()
|
||||
if( pWeakMap )
|
||||
{
|
||||
std::vector< typelib_TypeDescriptionReference * > ppTDR;
|
||||
// save al weak references
|
||||
ppTDR.reserve( pWeakMap->size() );
|
||||
|
||||
// save all weak references
|
||||
WeakMap_Impl::const_iterator aIt = pWeakMap->begin();
|
||||
while( aIt != pWeakMap->end() )
|
||||
{
|
||||
|
Reference in New Issue
Block a user