-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix datacollectors temporary files cleanup. #1483
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | ||
|
||
if (EqtTrace.IsVerboseEnabled) | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we do this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To avoid new string allocation.
|
||
RemoveDataCollectors(new List<DataCollectorInformation>(this.RunDataCollectors.Values)); | ||
|
||
EqtTrace.Info("DataCollectionManager.CleanupPlugins: CleanupPlugins finished"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EqtTrace.Info [](start = 12, length = 13)
why not here then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is compile time string. already created.
} | ||
|
||
this.disposed = true; | ||
} | ||
} | ||
|
||
private void CleanupPlugins() | ||
{ | ||
EqtTrace.Info("DataCollectionManager.CleanupPlugins: CleanupPlugins called"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Info [](start = 21, length = 4)
and here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dotnet-bot please test Windows_NT / Debug Build |
@dotnet-bot please test Windows_NT / Release Build |
1 similar comment
@dotnet-bot please test Windows_NT / Release Build |
Description
Related issue
microsoft/azure-pipelines-tasks#6694
microsoft/testfx#354 (comment)