From 0034e125bd1583a51df56e6daed2e6c83d887011 Mon Sep 17 00:00:00 2001 From: Diego2098 <82756760+kimdiego2098@users.noreply.github.com> Date: Wed, 25 Jun 2025 10:42:45 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=B8=B2=E5=8F=A3=E7=B1=BBConnectA?= =?UTF-8?q?sync=E6=96=B9=E6=B3=95=E5=8F=AF=E8=A2=AB=E9=87=8D=E5=86=99=20(#?= =?UTF-8?q?67)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/TouchSocket.SerialPorts/Components/SerialPortClientBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TouchSocket.SerialPorts/Components/SerialPortClientBase.cs b/src/TouchSocket.SerialPorts/Components/SerialPortClientBase.cs index 326095821..1ce9da887 100644 --- a/src/TouchSocket.SerialPorts/Components/SerialPortClientBase.cs +++ b/src/TouchSocket.SerialPorts/Components/SerialPortClientBase.cs @@ -230,7 +230,7 @@ public abstract class SerialPortClientBase : SetupConfigObject, ISerialPortSessi #region Connect /// - public async Task ConnectAsync(int millisecondsTimeout, CancellationToken token) + public virtual async Task ConnectAsync(int millisecondsTimeout, CancellationToken token) { this.ThrowIfDisposed(); this.ThrowIfConfigIsNull();