Quantcast
Channel: SSH.NET Library
Viewing all articles
Browse latest Browse all 2955

New Post: Unreliable Expect

$
0
0
I fixed it by :
        If InStr(S, StopOnText, CompareMethod.Text) > 0 Then


                   System.Threading.WaitHandle.SignalAndWait(AR.AsyncWaitHandle, AR.AsyncWaitHandle, 1, False)


        End If
May be another signaling method can be used without second wait?

Btw, SignalAndWait is not always reached, IMHO it indicates unreliability of expect

Viewing all articles
Browse latest Browse all 2955

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>