Browse Source

TChannel加个IsSending判断,防御一下

tanghai 4 years ago
parent
commit
e6a14d1545
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Unity/Assets/Mono/Module/NetworkTCP/TChannel.cs

+ 5 - 0
Unity/Assets/Mono/Module/NetworkTCP/TChannel.cs

@@ -298,6 +298,11 @@ namespace ET
 			{
 				return;
 			}
+
+			if (this.isSending)
+			{
+				return;
+			}
 			
 			while (true)
 			{