Skip to content

Commit

Permalink
re-removed WaitForInputIdle
Browse files Browse the repository at this point in the history
later consideration
  • Loading branch information
pedro2555 committed Sep 19, 2017
1 parent 875e157 commit eeabcd9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mRemoteV1/Connection/Protocol/IntegratedProgram.cs
Expand Up @@ -63,8 +63,9 @@ public override bool Connect()
_process.Exited += ProcessExited;

_process.Start();

var startTicks = Environment.TickCount;
_process.WaitForInputIdle(Settings.Default.MaxPuttyWaitTime * 1000);

var startTicks = Environment.TickCount;
while (_handle.ToInt32() == 0 & Environment.TickCount < startTicks + Settings.Default.MaxPuttyWaitTime * 1000)
{
_process.Refresh();
Expand Down

0 comments on commit eeabcd9

Please sign in to comment.