MCPcopy Create free account
hub / github.com/WheretIB/nullc / ~ObjectBlockPool

Method ~ObjectBlockPool

NULLC/translation/runtime.cpp:1111–1125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1109 lastNum = countInBlock;
1110 }
1111 ~ObjectBlockPool()
1112 {
1113 if(!activePages)
1114 return;
1115 do
1116 {
1117 MyLargeBlock* following = activePages->next;
1118 NULLC::dealloc(activePages);
1119 activePages = following;
1120 }while(activePages != NULL);
1121 freeBlocks = &lastBlock;
1122 activePages = NULL;
1123 lastNum = countInBlock;
1124 sortedPages.reset();
1125 }
1126
1127 void* Alloc()
1128 {

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected