MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / restartHeaps

Function restartHeaps

include/daScript/simulate/simulate.h:454–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452 }
453
454 __forceinline void restartHeaps() {
455 DAS_ASSERTF(insideContext==0,"can't reset heaps in locked context");
456 heap->reset();
457 stringHeap->reset();
458 stringDisposeQue = nullptr;
459 }
460
461 __forceinline uint32_t tryRestartAndLock() {
462 if (insideContext == 0) {

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected