--- a/contextframework/cfw/src/cfserver/cfphasebase.cpp Fri Aug 20 13:36:26 2010 +0300
+++ b/contextframework/cfw/src/cfserver/cfphasebase.cpp Fri Sep 03 16:56:10 2010 +0300
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2006-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"
@@ -95,8 +95,10 @@
FUNC_LOG;
__ASSERT_DEBUG( iStarterRequest, Panic( ENoRequestToComplete ) );
-
- User::RequestComplete( iStarterRequest, KErrCancel );
+ if ( iStarterRequest )
+ {
+ User::RequestComplete( iStarterRequest, KErrCancel );
+ }
}
//-----------------------------------------------------------------------------