mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Fixed some profiler shutdown issues
This commit is contained in:
parent
6434676134
commit
9eb5280170
5 changed files with 30 additions and 3 deletions
|
@ -99,10 +99,14 @@ DbgProfiler::DbgProfiler(WinDebugger* debugger) : mShutdownEvent(true)
|
|||
|
||||
mStartTick = BFTickCount();
|
||||
mEndTick = 0;
|
||||
|
||||
mDebugger->AddProfiler(this);
|
||||
}
|
||||
|
||||
DbgProfiler::~DbgProfiler()
|
||||
{
|
||||
mDebugger->RemoveProfiler(this);
|
||||
|
||||
Stop();
|
||||
|
||||
DoClear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue