Skip to content

Commit 6431f0c

Browse files
author
Jordan Ellis
committed
XboxConsole 2.1.70724.0
1 parent a79ea56 commit 6431f0c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

XboxConsole.Adapter.November2014/XboxConsoleAdapter.ConsoleControl.cs

+5-2
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,10 @@ protected override void WaitUntilRebootIsComplete(string systemIpAddress, TimeSp
172172
try
173173
{
174174
IEnumerable<XboxProcessDefinition> runningProcesses = this.XboxXdk.GetRunningProcesses(systemIpAddress, XboxOperatingSystem.System);
175-
return runningProcesses.Any(process => process.ImageFileName.IndexOf("Home.exe", StringComparison.OrdinalIgnoreCase) >= 0 || process.ImageFileName.IndexOf("oobe.exe", StringComparison.OrdinalIgnoreCase) >= 0);
175+
return runningProcesses.Any(
176+
process => process.ImageFileName.IndexOf("Home.exe", StringComparison.OrdinalIgnoreCase) >= 0 ||
177+
process.ImageFileName.IndexOf("oobe.exe", StringComparison.OrdinalIgnoreCase) >= 0 ||
178+
process.ImageFileName.IndexOf("wwahost.exe", StringComparison.OrdinalIgnoreCase) >= 0);
176179
}
177180
catch (COMException)
178181
{
@@ -184,7 +187,7 @@ protected override void WaitUntilRebootIsComplete(string systemIpAddress, TimeSp
184187

185188
if (!success)
186189
{
187-
throw new TimeoutException("Console failed to become unresponsive during the given timeout period.");
190+
throw new TimeoutException("Console failed to reboot during the given timeout period.");
188191
}
189192
}
190193

0 commit comments

Comments
 (0)