|
|
@@ -25,7 +25,6 @@ namespace ET.Client
|
|
|
|
|
|
while (true)
|
|
|
{
|
|
|
- long time1 = TimeInfo.Instance.ClientNow();
|
|
|
try
|
|
|
{
|
|
|
await fiber.Root.GetComponent<TimerComponent>().WaitAsync(2000);
|
|
|
@@ -33,7 +32,7 @@ namespace ET.Client
|
|
|
{
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
+ long time1 = TimeInfo.Instance.ClientNow();
|
|
|
// C2G_Ping不需要调用dispose,Call中会判断,如果用了对象池会自动回收
|
|
|
C2G_Ping c2GPing = C2G_Ping.Create();
|
|
|
// 这里response要用using才能回收到池,默认不回收
|
|
|
@@ -62,4 +61,4 @@ namespace ET.Client
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
+}
|