diff options
Diffstat (limited to 'ucb/source/ucp/webdav/NeonLockStore.cxx')
-rw-r--r-- | ucb/source/ucp/webdav/NeonLockStore.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ucb/source/ucp/webdav/NeonLockStore.cxx b/ucb/source/ucp/webdav/NeonLockStore.cxx index b6246e8c3485..9d151bc2ba30 100644 --- a/ucb/source/ucp/webdav/NeonLockStore.cxx +++ b/ucb/source/ucp/webdav/NeonLockStore.cxx @@ -93,20 +93,18 @@ NeonLockStore::NeonLockStore() : m_pNeonLockStore( ne_lockstore_create() ), m_pTickerThread( 0 ) { - OSL_TRACE( "LockStore ctor." ); OSL_ENSURE( m_pNeonLockStore, "Unable to create neon lock store!" ); } // ------------------------------------------------------------------- NeonLockStore::~NeonLockStore() { - OSL_TRACE( "LockStore dtor." ); - stopTicker(); - // release active locks, if any (just for safety). + // release active locks, if any. OSL_ENSURE( m_aLockInfoMap.size() == 0, "NeonLockStore::~NeonLockStore - Releasing active locks!" ); + LockInfoMap::const_iterator it( m_aLockInfoMap.begin() ); const LockInfoMap::const_iterator end( m_aLockInfoMap.end() ); while ( it != end ) @@ -215,7 +213,6 @@ void NeonLockStore::removeLock( NeonLock * pLock ) void NeonLockStore::refreshLocks() { osl::MutexGuard aGuard( m_aMutex ); - //OSL_TRACE( "NeonLockStore::refreshLocks" ); LockInfoMap::iterator it( m_aLockInfoMap.begin() ); const LockInfoMap::const_iterator end( m_aLockInfoMap.end() ); |