equal
deleted
inserted
replaced
271 // Params have to be cleared here since the observer may initiate another asynchronous operation immediately |
271 // Params have to be cleared here since the observer may initiate another asynchronous operation immediately |
272 // after they are notified, effectively messing up the state machine which controls the logic in DoCancel() |
272 // after they are notified, effectively messing up the state machine which controls the logic in DoCancel() |
273 // resulting in a possible dead lock when CActive::Cancel()'s User::WaitForRequest( iStatus ) never gets signaled. |
273 // resulting in a possible dead lock when CActive::Cancel()'s User::WaitForRequest( iStatus ) never gets signaled. |
274 ClearParams(); |
274 ClearParams(); |
275 |
275 |
276 if ( iActiveObserver == ENetSelectObserver && iObserver ) |
276 if ( iActiveObserver == ENetSelectObserver ) |
277 { |
277 { |
278 __ASSERT_ALWAYS( iObserver, Panic( KPSNameOfClass, ENetNoObserver ) ); |
278 __ASSERT_ALWAYS( iObserver, Panic( KPSNameOfClass, ENetNoObserver ) ); |
279 HideRequestNoteL(); |
279 HideRequestNoteL(); |
280 } |
280 } |
281 else if ( iActiveObserver == ENetModeObserver && iNetworkModeObserver ) |
281 else if ( iActiveObserver == ENetModeObserver ) |
282 { |
282 { |
283 __ASSERT_ALWAYS( iNetworkModeObserver, |
283 __ASSERT_ALWAYS( iNetworkModeObserver, |
284 Panic( KPSNameOfClass, ENetNoNetworkObserver ) ); |
284 Panic( KPSNameOfClass, ENetNoNetworkObserver ) ); |
285 } |
285 } |
286 |
286 |