Skip to content
Browse files

Change PuttyBase.Connect() to use MaxPuttyWaitTime setting instead of…

… hard coded value.
  • Loading branch information...
1 parent c09ea26 commit adb45cec98b585b086f395f0e5b114c16641decc @rmcardle committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 mRemoteV1/Connection/Connection.Protocol.PuttyBase.vb
View
2 mRemoteV1/Connection/Connection.Protocol.PuttyBase.vb
@@ -159,7 +159,7 @@ Namespace Connection
PuttyProcess.WaitForInputIdle()
Dim startTicks As Integer = Environment.TickCount
- While PuttyHandle.ToInt32 = 0 And Environment.TickCount < startTicks + 5000
+ While PuttyHandle.ToInt32 = 0 And Environment.TickCount < startTicks + (My.Settings.MaxPuttyWaitTime * 1000)
If _isPuttyNg Then
PuttyHandle = FindWindowEx(InterfaceControl.Handle, 0, vbNullString, vbNullString)
Else

0 comments on commit adb45ce

Please sign in to comment.
Something went wrong with that request. Please try again.