bearermanagement/mpm/src/mpmcsidwatcher.cpp
changeset 71 9f263f780e41
parent 20 9c97ad6591ae
--- a/bearermanagement/mpm/src/mpmcsidwatcher.cpp	Wed Oct 27 17:43:56 2010 +0300
+++ b/bearermanagement/mpm/src/mpmcsidwatcher.cpp	Wed Oct 27 17:51:11 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -151,6 +151,23 @@
 
 // ---------------------------------------------------------------------------
 // From class CActive.
+// Handles any leave from RunL.
+// ---------------------------------------------------------------------------
+//
+TInt CMpmCsIdWatcher::RunError( TInt aError )
+    {
+    MPMLOGSTRING2( "CMpmCsIdWatcher::RunError, ERROR: %d", aError );
+    aError = aError;
+    iErrorCounter++;
+    if ( !IsActive() )
+        {
+        RequestNotifications();
+        }
+    return KErrNone;
+    }
+
+// ---------------------------------------------------------------------------
+// From class CActive.
 // Cancel outstanding request
 // ---------------------------------------------------------------------------
 //