Skip to content

Commit 56a0ebd

Browse files
committed
Fix #242: Remove timeout for PSHostUserInterface prompts
1 parent c7e18c5 commit 56a0ebd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/PowerShellEditorServices/Session/SessionPSHostUserInterface.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,8 @@ private void WaitForPromptCompletion<TResult>(
320320
try
321321
{
322322
// This will synchronously block on the prompt task
323-
// method which gets run on another thread. Use a
324-
// 30 second timeout so that everything doesn't get
325-
// backed up if the user doesn't respond.
326-
promptTask.Wait(15000);
323+
// method which gets run on another thread.
324+
promptTask.Wait();
327325

328326
if (promptTask.Status == TaskStatus.WaitingForActivation)
329327
{

0 commit comments

Comments
 (0)