Exception:调用方法时发生错误。 目标线程不再存在。

报错信息 1
InvalidAsynchronousStateException: 调用方法时发生错误。  目标线程不再存在。
StackTrace:
   在 System.Windows.Forms.Control.WaitForWaitHandle(WaitHandle waitHandle)
   在 System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
   在 System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
   在 __ScriptExecution.__659xgpyj.MainForm.Log(String msg)
   在 __ScriptExecution.__659xgpyj.MainForm.InitWebView()
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   在 System.Threading.ThreadHelper.ThreadStart()

版本:1.45.5 2026-06-14 12:12 Microsoft Windows NT 10.0.26200.0