File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ namespace Memory
34
34
35
35
RecyclerTelemetryInfo::~RecyclerTelemetryInfo ()
36
36
{
37
- AssertOnValidThread (this , RecyclerTelemetryInfo::~RecyclerTelemetryInfo);
38
37
if (this ->hostInterface != nullptr && this ->passCount > 0 )
39
38
{
39
+ AssertOnValidThread (this , RecyclerTelemetryInfo::~RecyclerTelemetryInfo);
40
40
this ->hostInterface ->TransmitTelemetry (*this );
41
+ this ->FreeGCPassStats ();
41
42
}
42
- this ->FreeGCPassStats ();
43
43
}
44
44
45
45
const GUID& RecyclerTelemetryInfo::GetRecyclerID () const
@@ -195,10 +195,9 @@ namespace Memory
195
195
196
196
void RecyclerTelemetryInfo::FreeGCPassStats ()
197
197
{
198
- AssertOnValidThread (this , RecyclerTelemetryInfo::FreeGCPassStats);
199
-
200
198
if (this ->lastPassStats != nullptr )
201
199
{
200
+ AssertOnValidThread (this , RecyclerTelemetryInfo::FreeGCPassStats);
202
201
RecyclerTelemetryGCPassStats* head = this ->lastPassStats ->next ;
203
202
RecyclerTelemetryGCPassStats* curr = head;
204
203
#ifdef DBG
You can’t perform that action at this time.
0 commit comments