Skip to content

Commit 24bf257

Browse files
committed
Leave a comment
1 parent cb05616 commit 24bf257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/webdriver/DriverService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ public void Start()
255255
DriverProcessStartingEventArgs eventArgs = new DriverProcessStartingEventArgs(this.driverServiceProcess.StartInfo);
256256
this.OnDriverProcessStarting(eventArgs);
257257

258+
// Important: Start the process and immediately begin reading the output and error streams to avoid IO deadlocks.
258259
this.driverServiceProcess.Start();
259-
260260
this.driverServiceProcess.BeginOutputReadLine();
261261
this.driverServiceProcess.BeginErrorReadLine();
262262

0 commit comments

Comments
 (0)