diff -r 33ae025ac1e8 -r 2290317b9ec5 metadataengine/server/src/mdsserver.cpp --- a/metadataengine/server/src/mdsserver.cpp Mon May 03 12:55:01 2010 +0300 +++ b/metadataengine/server/src/mdsserver.cpp Fri May 14 16:38:28 2010 +0300 @@ -354,6 +354,10 @@ __INIT_LOGGER; StartL( KMdSServerName ); __LOGLB( ELogAlways, "Server start" ); + + RProcess process; + process.SetPriority( EPriorityBackground ); + process.Close(); CheckInitSriptL(); @@ -361,10 +365,10 @@ CMdSSqLiteConnection* conn = CMdSSqLiteConnection::NewLC(); iDefaultDBConnection = conn; MMdSDbConnectionPool::SetDefaultDB( conn ); - - CMdSMaintenanceEngine::InitConnectionL(); CleanupStack::Pop( conn ); + CMdSMaintenanceEngine::InitConnectionL(); + iNotifier = CMdSNotifier::NewL(); InitializeL();