private void _Shutdown() { _CommandBridge.Break(); _AgentCore.Finial(); _GhostRequest.OnReleaseEvent -= _SoulProvider.Unbind; }
void IStage.Leave() { _WriterStop(); _ReaderStop(); if (_Peer != null) { _Peer.Close(); _Peer = null; } _Core.Finial(); Singleton <Log> .Instance.WriteInfo("Agent online leave."); }
public void Shutdown() { _Agent.ErrorVerifyEvent -= _ErrorVerifyEvent; _Agent.ErrorMethodEvent -= _ErrorMethodEvent; _Connected = false; if (_BreakEvent != null) { _BreakEvent(); } _BreakEvent = null; _Agent.Finial(); _GhostRequest.PingEvent -= _OnRequestPing; _GhostRequest.ReleaseEvent -= _SoulProvider.Unbind; }