equal
deleted
inserted
replaced
157 { |
157 { |
158 IAUPDATE_TRACE("[IAUPDATE] Root is expired"); |
158 IAUPDATE_TRACE("[IAUPDATE] Root is expired"); |
159 rootExpired = ETrue; |
159 rootExpired = ETrue; |
160 } |
160 } |
161 |
161 |
162 MNcdNodeContainer* container( rootNode->QueryInterfaceLC< MNcdNodeContainer >() ); |
162 TInt childCount( 0 ); |
163 TInt childCount( container->ChildCount() ); |
163 MNcdNodeContainer* container( rootNode->QueryInterfaceLC< MNcdNodeContainer >() ); |
164 CleanupStack::PopAndDestroy( container ); |
164 if ( container ) |
165 |
165 { |
|
166 childCount = container->ChildCount(); |
|
167 CleanupStack::PopAndDestroy( container ); |
|
168 } |
|
169 |
166 IAUPDATE_TRACE_1("[IAUPDATE] count of children: %d", childCount ); |
170 IAUPDATE_TRACE_1("[IAUPDATE] count of children: %d", childCount ); |
167 |
171 |
168 //2 here means arrow CGW and firmware CGW. If one of them failed last time, |
172 //2 here means arrow CGW and firmware CGW. If one of them failed last time, |
169 //refresh from CDB again |
173 //refresh from CDB again |
170 if ( childCount != 2 && rootState == MNcdNode::EStateInitialized ) |
174 if ( childCount != 2 && rootState == MNcdNode::EStateInitialized ) |