1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Fixed some profiler shutdown issues

This commit is contained in:
Brian Fiete 2020-04-16 10:46:58 -07:00
parent 6434676134
commit 9eb5280170
5 changed files with 30 additions and 3 deletions

View file

@ -21,6 +21,7 @@ namespace Beefy
NS_BF_DBG_BEGIN
class DbgProfiler;
class DbgModule;
class DbgSrcFile;
class DbgLineData;
@ -467,6 +468,7 @@ public:
Dictionary<int, Profiler*> mPendingProfilerMap;
Array<Profiler*> mNewProfilerList;
HashSet<Profiler*> mProfilerSet;
addr_target mMemCacheAddr;
uint8 mMemCacheData[WD_MEMCACHE_SIZE];
@ -660,7 +662,10 @@ public:
virtual void Detach() override;
virtual Profiler* StartProfiling() override;
virtual Profiler* PopProfiler() override;
virtual void ReportMemory(MemReporter* memReporter) override;
void AddProfiler(DbgProfiler* profiler);
void RemoveProfiler(DbgProfiler* profiler);
virtual void ReportMemory(MemReporter* memReporter) override;
virtual bool IsOnDemandDebugger() override { return false; }
virtual bool IsMiniDumpDebugger() { return false; }