断开连接时 退出 等待数据返回

This commit is contained in:
Kimdiego2098
2024-01-21 16:43:10 +08:00
parent afe6a1923b
commit d8567b8427

View File

@@ -1037,6 +1037,7 @@ public abstract class ProtocolBase : DisposableObject, IProtocol
lock (Channel)
{
Channel.Starting -= ChannelStarting;
Channel.Stoped -= ChannelStoped;
Channel.Started -= ChannelStarted;
Channel.Received -= Received;
Channel.Collects.Remove(this);