Skip to content

Commit

Permalink
restyle
Browse files Browse the repository at this point in the history
  • Loading branch information
kpschoedel committed Nov 16, 2021
1 parent 9d158a2 commit b21add7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/support/Pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ class BitMapObjectPool : public internal::StaticAllocatorBitmap, public internal
{
public:
BitMapObjectPool() : StaticAllocatorBitmap(mData.mMemory, mUsage, N, sizeof(T)) {}
~BitMapObjectPool() {
~BitMapObjectPool()
{
// ReleaseAll();
}

Expand Down Expand Up @@ -241,7 +242,8 @@ class HeapObjectPool : public internal::Statistics, public internal::PoolCommon<
{
public:
HeapObjectPool() {}
~HeapObjectPool() {
~HeapObjectPool()
{
// TODO(#11880): Release all active objects (or verify that none are active) when destroying the pool.
// ReleaseAll();
}
Expand Down

0 comments on commit b21add7

Please sign in to comment.