metadataengine/server/src/mdsserversession.cpp
changeset 60 79f826a55db2
parent 40 910a23996aa0
equal deleted inserted replaced
58:fe894bb075c2 60:79f826a55db2
    87 CMdSServerSession::~CMdSServerSession()
    87 CMdSServerSession::~CMdSServerSession()
    88     {
    88     {
    89     iFindEngines.ResetAndDestroy();
    89     iFindEngines.ResetAndDestroy();
    90     iFindEngines.Close();
    90     iFindEngines.Close();
    91 
    91 
    92 	iServer.LockList().UnlockBySession( *this );
    92     if( !iServer.ShutdownInProgress() )
    93 	iServer.Notifier().RemoveEntriesBySession( *this );
    93         {
    94     
    94         iServer.LockList().UnlockBySession( *this );
       
    95         iServer.Notifier().RemoveEntriesBySession( *this );
       
    96         }
       
    97 
    95     // purge any pending notifications
    98     // purge any pending notifications
    96 	iNotificationCache.ResetAndDestroy();
    99 	iNotificationCache.ResetAndDestroy();
    97     iNotificationCache.Close();
   100     iNotificationCache.Close();
    98     }
   101     }
    99 
   102