Skip to content

Commit 35804ac

Browse files
committed
chore: fix try-finally block code
1 parent 0e90e56 commit 35804ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/BenchmarkDotNet.IntegrationTests/WakeLockTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ public async Task BenchmarkRunnerAcquiresWakeLock(Type type, string expected)
9898

9999
async Task WaitForBenchmarkRunningAndGetPowerRequests()
100100
{
101-
await AsTask(ping, testTimeout);
102101
try
103102
{
103+
await AsTask(ping, testTimeout);
104104
pwrRequests = GetPowerRequests("BenchmarkDotNet Running Benchmarks");
105105
}
106106
finally

0 commit comments

Comments
 (0)