metadataengine/server/src/mdsserver.cpp
changeset 60 79f826a55db2
parent 40 910a23996aa0
equal deleted inserted replaced
58:fe894bb075c2 60:79f826a55db2
    32 #include "mdsschema.h"
    32 #include "mdsschema.h"
    33 #include "mdcserializationbuffer.h"
    33 #include "mdcserializationbuffer.h"
    34 
    34 
    35 __DEFINE_LOGGER
    35 __DEFINE_LOGGER
    36 
    36 
    37 const TInt64 KDiskSpaceGarbageCollectorThreshold = 1024*1024; // 1 MB
    37 const TInt64 KDiskSpaceGarbageCollectorThreshold = 1024*1024*2; // 2 MB 
    38 
    38 
    39 _LIT( KSchema, "schema.mde" );
    39 _LIT( KSchema, "schema.mde" );
    40 _LIT( KDefaultImportProfile, "defaultimportfile.mde" );
    40 _LIT( KDefaultImportProfile, "defaultimportfile.mde" );
    41 _LIT( KBackupRegistration, "backup_registration.xml" );
    41 _LIT( KBackupRegistration, "backup_registration.xml" );
    42 _LIT( KSchemaPath, "z:\\private\\200009F3\\schema.mde" );
    42 _LIT( KSchemaPath, "z:\\private\\200009F3\\schema.mde" );
   593 //
   593 //
   594 void CMdSServer::ShutdownNotification()
   594 void CMdSServer::ShutdownNotification()
   595     {
   595     {
   596     if (!iShutdown)
   596     if (!iShutdown)
   597         {    
   597         {    
       
   598         User::RenameThread(KMdSServerNameIAD);
   598         CActiveScheduler::Stop();
   599         CActiveScheduler::Stop();
   599         iShutdown = ETrue;
   600         iShutdown = ETrue;
   600         }
   601         }
   601     }
   602     }
   602 
   603