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

Commit 3ee20a9

Browse files
committed
fix: use BeginInvoke instead of Invoke
1 parent b2293c6 commit 3ee20a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frmMain.vb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2337,9 +2337,9 @@ LocalErrorHandler:
23372337
While True
23382338
If _tcpClient.Check() Then
23392339
FixBox.BackColor = Color.Green
2340-
Invoke(Sub()
2341-
cmdRun_Click(cmdRun, New System.EventArgs)
2342-
End Sub)
2340+
BeginInvoke(Sub()
2341+
cmdRun_Click(cmdRun, New System.EventArgs)
2342+
End Sub)
23432343
_testDoneEvent.WaitOne()
23442344
_testDoneEvent.Reset()
23452345
End If

0 commit comments

Comments
 (0)