equal
deleted
inserted
replaced
61 { |
61 { |
62 LOG( EJavaMMAPI, EInfo, "CMMAForeground::~CMMAForeground() : eikEnv RemoveForegroundObserver +"); |
62 LOG( EJavaMMAPI, EInfo, "CMMAForeground::~CMMAForeground() : eikEnv RemoveForegroundObserver +"); |
63 eikEnv->RemoveForegroundObserver(*this); |
63 eikEnv->RemoveForegroundObserver(*this); |
64 LOG( EJavaMMAPI, EInfo, "CMMAForeground::~CMMAForeground() : eikEnv RemoveForegroundObserver -"); |
64 LOG( EJavaMMAPI, EInfo, "CMMAForeground::~CMMAForeground() : eikEnv RemoveForegroundObserver -"); |
65 } |
65 } |
66 */ |
66 |
67 if (iEventPoster && iDeleteRefEvent) |
67 if (iEventPoster && iDeleteRefEvent) |
68 { |
68 { |
69 iEventPoster->PostEvent(iDeleteRefEvent); |
69 iEventPoster->PostEvent(iDeleteRefEvent); |
70 } |
70 } |
71 else |
71 else |
72 { |
72 { |
73 delete iDeleteRefEvent; |
73 delete iDeleteRefEvent; |
74 } |
74 }*/ |
|
75 //TODO MemoryLeak need to delete the above object. |
75 delete iForegroundEvent; |
76 delete iForegroundEvent; |
76 delete iActiveScheduler; |
77 delete iActiveScheduler; |
77 LOG(EJavaMMAPI, EInfo, "CMMAForeground::~CMMAForeground() - "); |
78 LOG(EJavaMMAPI, EInfo, "CMMAForeground::~CMMAForeground() - "); |
78 } |
79 } |
79 |
80 |