Commit 1f2324c 1 parent 154cdbe commit 1f2324c Copy full SHA for 1f2324c
File tree 1 file changed +1
-4
lines changed
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -90,9 +90,7 @@ private async Task ConnectAndStartProfilingImpl(CancellationToken token)
90
90
public async Task StartProfiling ( CancellationToken token )
91
91
{
92
92
// We want to make sure that we are not disposing while we are starting a session
93
- Console . WriteLine ( $ "Before entering Start/Lock for { ( _sampler ? "sampler" : "clr" ) } ") ;
94
93
await _semaphoreSlim . WaitAsync ( token ) ;
95
- Console . WriteLine ( $ "After entering Start/Lock for { ( _sampler ? "sampler" : "clr" ) } ") ;
96
94
97
95
try
98
96
{
@@ -218,9 +216,8 @@ public async ValueTask StopAndDisposeAsync()
218
216
// We wait for the session to start (we will close it right after below
219
217
await _profilingTask . ConfigureAwait ( false ) ;
220
218
}
221
- catch ( Exception ex )
219
+ catch
222
220
{
223
- Console . WriteLine ( $ "Error while waiting for profiling { _baseName } { ( _sampler ? "sampler" : "clr" ) } to finish: { ex } ") ;
224
221
// Ignore
225
222
}
226
223
You can’t perform that action at this time.
0 commit comments