genericopenlibs/openenvcore/backend/src/corebackend/fdtransfer_srv.cpp
branchRCL_3
changeset 57 2efc27d87e1c
parent 56 acd3cd4aaceb
equal deleted inserted replaced
56:acd3cd4aaceb 57:2efc27d87e1c
   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     CShutdown* shutdown = new(ELeave) CShutdown;
   225     iShutdown = new(ELeave) CShutdown;
   226     CleanupStack::PushL(shutdown);
   226     CleanupStack::PushL(iShutdown);
   227     shutdown->ConstructL();
   227     iShutdown->ConstructL();
   228 	CleanupStack::Pop();
   228 	CleanupStack::Pop();
   229 	iShutdown = shutdown;
       
   230 	shutdown = 0;
       
   231     }
   229     }
   232 
   230 
   233 // -------------------------------------------------------------------------------
   231 // -------------------------------------------------------------------------------
   234 // CFileDesTransferServer::AddToScheduler
   232 // CFileDesTransferServer::AddToScheduler
   235 // Add both the server and the shutdown timer objects to the active scheduler
   233 // Add both the server and the shutdown timer objects to the active scheduler