Ejemplo n.º 1
0
        private void Leaving(ActionPoint sender, Load load)
        {
            load.OnDisposed -= CurrentLoadDisposed;
            ClearCurrentLoadRemovedEvent(load.Route);

            OnLeave?.Invoke(this, load);

            if (previousload != null && previousload.Equals(load))
            {
                previousload = null;
            }

            if (currentload != null && currentload.Equals(load))
            {
                currentload = null;
            }
        }