tiltle says everything, in my window (and not in the main window) I have a constructor
EventAggregator.OnUserLoggedIn += OnUserLoggedIn;
EventAggregator.OnUserLoggedOff += OnUserLoggedOff;
is there a difference between
this.Close()
and
EventAggregator.OnUserLoggedIn -= OnUserLoggedIn;
EventAggregator.OnUserLoggedOff -= OnUserLoggedOff;
this.Close()
I read that closing a window provides all unused resources, are events that are considered maneuverable or uncontrollable?
source
share