Exception:无法访问已释放的对象。 对象名:“RichTextBox”。

报错信息 1
ObjectDisposedException: 无法访问已释放的对象。
对象名:“RichTextBox”。
--Message: 无法访问已释放的对象。
对象名:“RichTextBox”。
--ObjectName: RichTextBox
StackTrace:
   在 System.Windows.Forms.Control.CreateHandle()
   在 System.Windows.Forms.TextBoxBase.CreateHandle()
   在 System.Windows.Forms.Control.get_Handle()
   在 System.Windows.Forms.RichTextBox.get_TextLength()
   在 System.Windows.Forms.TextBoxBase.AdjustSelectionStartAndEnd(Int32 selStart, Int32 selLength, Int32& start, Int32& end, Int32 textLen)
   在 System.Windows.Forms.TextBoxBase.GetSelectionStartAndLength(Int32& start, Int32& length)
   在 System.Windows.Forms.TextBoxBase.AppendText(String text)
   在 __ScriptExecution.__ff0rsnr6.TongyiRelayForm.Log(String m)
   在 __ScriptExecution.__ff0rsnr6.TongyiRelayForm.<ProcessRequest>d__11.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   在 System.Threading.ThreadPoolWorkQueue.Dispatch()

版本:1.44.22 2026-05-19 15:51 Microsoft Windows NT 10.0.19045.0