genericopenlibs/openenvcore/backend/src/corebackend/fdtransfer_srv.cpp
changeset 44 97b0fb8a2cc2
parent 0 e4d67989cc36
child 57 2efc27d87e1c
equal deleted inserted replaced
22:ddc455616bd6 44:97b0fb8a2cc2
   220 // CFileDesTransferServer::ConstructL
   220 // CFileDesTransferServer::ConstructL
   221 // Second phase construction. Create the shutdown timer object and the semaphore
   221 // Second phase construction. Create the shutdown timer object and the semaphore
   222 // -------------------------------------------------------------------------------
   222 // -------------------------------------------------------------------------------
   223 void CFileDesTransferServer::ConstructL()
   223 void CFileDesTransferServer::ConstructL()
   224     {
   224     {
   225     iShutdown = new(ELeave) CShutdown;
   225     CShutdown* shutdown = new(ELeave) CShutdown;
   226     CleanupStack::PushL(iShutdown);
   226     CleanupStack::PushL(shutdown);
   227     iShutdown->ConstructL();
   227     shutdown->ConstructL();
   228 	CleanupStack::Pop();
   228 	CleanupStack::Pop();
       
   229 	iShutdown = shutdown;
       
   230 	shutdown = 0;
   229     }
   231     }
   230 
   232 
   231 // -------------------------------------------------------------------------------
   233 // -------------------------------------------------------------------------------
   232 // CFileDesTransferServer::AddToScheduler
   234 // CFileDesTransferServer::AddToScheduler
   233 // Add both the server and the shutdown timer objects to the active scheduler
   235 // Add both the server and the shutdown timer objects to the active scheduler