equal
deleted
inserted
replaced
154 CGSPluginInterface* plugin = iPluginArray->operator[]( i ); |
154 CGSPluginInterface* plugin = iPluginArray->operator[]( i ); |
155 |
155 |
156 // Adding plugin data to lbx has a lot of CGSPluginInterface API calls. |
156 // Adding plugin data to lbx has a lot of CGSPluginInterface API calls. |
157 // -> A good place to use quarantine to catch panicking plugins in |
157 // -> A good place to use quarantine to catch panicking plugins in |
158 // any of these calls. |
158 // any of these calls. |
159 iGSWatchDog->QuarantineL( plugin->Id() ); |
159 #ifdef GS_ENABLE_WATCH_DOG |
|
160 iGSWatchDog->QuarantineL( plugin->Id() ); |
|
161 #endif |
|
162 |
160 if( plugin->Visible() ) |
163 if( plugin->Visible() ) |
161 { |
164 { |
162 AddPluginDataToLbxL( plugin, |
165 AddPluginDataToLbxL( plugin, |
163 iItemTextArray, |
166 iItemTextArray, |
164 icons, |
167 icons, |
165 iconCounter ); |
168 iconCounter ); |
166 } |
169 } |
167 iGSWatchDog->RemoveFromQuarantineL( plugin->Id() ); |
170 #ifdef GS_ENABLE_WATCH_DOG |
|
171 iGSWatchDog->RemoveFromQuarantineL( plugin->Id() ); |
|
172 #endif |
168 } |
173 } |
169 |
174 |
170 // 2) Replace old icon array if needed. |
175 // 2) Replace old icon array if needed. |
171 switch( iListBoxType ) |
176 switch( iListBoxType ) |
172 { |
177 { |