phoneapp/phonemediatorcenter/src/cphonemediatorsender.cpp
changeset 77 2be0b271d017
parent 37 ba76fc04e6c2
child 76 cfea66083b62
--- a/phoneapp/phonemediatorcenter/src/cphonemediatorsender.cpp	Fri Sep 17 08:29:19 2010 +0300
+++ b/phoneapp/phonemediatorcenter/src/cphonemediatorsender.cpp	Mon Oct 04 00:16:48 2010 +0300
@@ -69,6 +69,10 @@
 // Destructor
 CPhoneMediatorSender::~CPhoneMediatorSender()
     {
+    iEventSender->UnregisterEvent( KMediatorTelephonyDomain,
+                                   KCatEventsFromTelephony,
+                                   iGenericEvents ); 
+
     delete iCommandInitiator;
     iEvents.Close();
     iGenericEvents.Close();