|
@@ -104,11 +104,11 @@ namespace ET.Server
|
|
|
ProcessActorId processActorId = new(actorId);
|
|
|
|
|
|
// 这里做了优化,如果发向同一个进程,则直接处理,不需要通过网络层
|
|
|
- if (processActorId.Process == Options.Instance.Process)
|
|
|
- {
|
|
|
- NetInnerComponent.Instance.HandleMessage(actorId, message);
|
|
|
- return;
|
|
|
- }
|
|
|
+ // if (processActorId.Process == Options.Instance.Process)
|
|
|
+ // {
|
|
|
+ // NetInnerComponent.Instance.HandleMessage(actorId, message);
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
|
|
|
Session session = NetInnerComponent.Instance.Get(processActorId.Process);
|
|
|
session.Send(processActorId.ActorId, message);
|