aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2015-08-24 03:09:41 +0000
committerMike Buland <eichlan@xagasoft.com>2015-08-24 03:09:41 +0000
commit04f68d35183bb98c04f09b077e650cf90ff72139 (patch)
tree81be25ac831d7b0934f4910660983c23cd83c685
parent8c618fdda44e8ed4377476b58ec10fd2f73869ec (diff)
downloadlibbu++-04f68d35183bb98c04f09b077e650cf90ff72139.tar.gz
libbu++-04f68d35183bb98c04f09b077e650cf90ff72139.tar.bz2
libbu++-04f68d35183bb98c04f09b077e650cf90ff72139.tar.xz
libbu++-04f68d35183bb98c04f09b077e650cf90ff72139.zip
Added some refcount debugging.
-rw-r--r--src/unstable/cachebase.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unstable/cachebase.h b/src/unstable/cachebase.h
index 1216e78..d5b4382 100644
--- a/src/unstable/cachebase.h
+++ b/src/unstable/cachebase.h
@@ -481,6 +481,7 @@ namespace Bu
481 else 481 else
482 { 482 {
483 pEnt->bDeleted = true; 483 pEnt->bDeleted = true;
484 Bu::println("Deleted item, ref count = %1").arg( pEnt->iRefCount );
484 pEnt->mEntry.unlock(); 485 pEnt->mEntry.unlock();
485 } 486 }
486 hCacheEntry.erase( key ); 487 hCacheEntry.erase( key );