Skip to content

Commit f423837

Browse files
committed
Null out disposed value on throw
1 parent bcb532f commit f423837

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dotnet/src/webdriver/DriverService.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ public async Task StartAsync()
268268
catch
269269
{
270270
this.driverServiceProcess.Dispose();
271+
this.driverServiceProcess = null;
271272
throw;
272273
}
273274
}

0 commit comments

Comments
 (0)