MCPcopy Create free account
hub / github.com/beefytech/Beef / ~BfCodeGen

Method ~BfCodeGen

IDEHelper/Compiler/BfCodeGen.cpp:659–688  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

657}
658
659BfCodeGen::~BfCodeGen()
660{
661 if (mIsUsingReleaseThunk)
662 mKillFunc();
663
664 if (mReleaseModule != NULL)
665 BfpDynLib_Release(mReleaseModule);
666
667 ClearOldThreads(true);
668
669 for (auto thread : mThreads)
670 {
671 thread->mShuttingDown = true;
672 }
673 mRequestEvent.Set(true);
674
675 for (auto thread : mThreads)
676 {
677 thread->Shutdown();
678 delete thread;
679 }
680
681 for (auto request : mRequests)
682 {
683 delete request;
684 }
685
686 for (auto& entry : mDirectoryCache)
687 delete entry.mValue;
688}
689
690void BfCodeGen::ResetStats()
691{

Callers

nothing calls this directly

Calls 3

BfpDynLib_ReleaseFunction · 0.50
SetMethod · 0.45
ShutdownMethod · 0.45

Tested by

no test coverage detected