Example #1
0
        protected override void Destroy()
        {
            _parent.DisconnectServer();

            CancelAllRequestsServerDisconnected();

            _parent.DecrementReferenceCount();
        }
Example #2
0
        protected override void Destroy()
        {
            _parent.DisconnectClient();
            _parent.DecrementReferenceCount();

            if (Service is IDisposable disposableObj)
            {
                disposableObj.Dispose();
            }
        }
Example #3
0
 protected override void Destroy()
 {
     _parent.DisconnectClient();
     _parent.DecrementReferenceCount();
 }