equal
deleted
inserted
replaced
134 // CTimerServer::ConstructL |
134 // CTimerServer::ConstructL |
135 // Second phase construction. Create the shutdown timer object and the semaphore |
135 // Second phase construction. Create the shutdown timer object and the semaphore |
136 // ------------------------------------------------------------------------------- |
136 // ------------------------------------------------------------------------------- |
137 void CTimerServer::ConstructL() |
137 void CTimerServer::ConstructL() |
138 { |
138 { |
139 iShutdown = new(ELeave) CShutdown; |
139 CShutdown* shutdown = new(ELeave) CShutdown; |
140 CleanupStack::PushL(iShutdown); |
140 CleanupStack::PushL(shutdown); |
141 iShutdown->ConstructL(); |
141 shutdown->ConstructL(); |
142 CleanupStack::Pop(); |
142 CleanupStack::Pop(); |
|
143 iShutdown = shutdown; |
|
144 shutdown = 0; |
143 } |
145 } |
144 |
146 |
145 // ------------------------------------------------------------------------------- |
147 // ------------------------------------------------------------------------------- |
146 // CTimerServer::AddToScheduler |
148 // CTimerServer::AddToScheduler |
147 // Add both the server and the shutdown timer objects to the active scheduler |
149 // Add both the server and the shutdown timer objects to the active scheduler |