--- a/clock2/clockengines/utilities/clockecomlistener/src/clockecomlistener.cpp Tue Apr 27 16:36:22 2010 +0300
+++ b/clock2/clockengines/utilities/clockecomlistener/src/clockecomlistener.cpp Tue May 11 16:12:24 2010 +0300
@@ -179,12 +179,16 @@
{
__PRINTS( "CClockEComListener::Start - Entry" );
- // Start the active object and listen for changes in the ECOM registry.
- if( iEComSession )
+ if (!IsActive())
{
- iEComSession->NotifyOnChange( iStatus );
+ // Start the active object and listen for changes in the ECOM registry.
+ if( iEComSession )
+ {
+ iEComSession->NotifyOnChange( iStatus );
+ SetActive();
+ }
}
- SetActive();
+
__PRINTS( "CClockEComListener::Start - Exit" );
}