Skip to content

Commit 031b0c5

Browse files
authored
Remove reboot command from DeviceErase (#325)
1 parent 66697bf commit 031b0c5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

source/VisualStudio.Extension/ToolWindow.DeviceExplorer/DeviceExplorerCommand.cs

-3
Original file line numberDiff line numberDiff line change
@@ -446,9 +446,6 @@ await ThreadHelper.JoinableTaskFactory.RunAsync(async () =>
446446
// reset the hash for the connected device so the deployment information can be refreshed, if and when requested
447447
ViewModelLocator.DeviceExplorer.LastDeviceConnectedHash = 0;
448448

449-
// reboot device
450-
NanoDeviceCommService.Device.DebugEngine.RebootDevice(Debugger.RebootOptions.ClrOnly | Debugger.RebootOptions.NoShutdown);
451-
452449
// yield to give the UI thread a chance to respond to user input
453450
await Task.Yield();
454451
}

0 commit comments

Comments
 (0)