equal
deleted
inserted
replaced
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 |