Skip to content
This repository has been archived by the owner on Feb 19, 2023. It is now read-only.

Commit

Permalink
fix: use BeginInvoke instead of Invoke
Browse files Browse the repository at this point in the history
  • Loading branch information
CCXXXI committed Jul 13, 2022
1 parent b2293c6 commit 3ee20a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frmMain.vb
Original file line number Diff line number Diff line change
Expand Up @@ -2337,9 +2337,9 @@ LocalErrorHandler:
While True
If _tcpClient.Check() Then
FixBox.BackColor = Color.Green
Invoke(Sub()
cmdRun_Click(cmdRun, New System.EventArgs)
End Sub)
BeginInvoke(Sub()
cmdRun_Click(cmdRun, New System.EventArgs)
End Sub)
_testDoneEvent.WaitOne()
_testDoneEvent.Reset()
End If
Expand Down

0 comments on commit 3ee20a9

Please sign in to comment.