EventAggregator Quickstart solution
(that comes with the Prism guidance), provides an example of how to unsubscribe from
Event Aggregator events.
You can check the
solution. In the ActivityPresenter class, from ModuleB project you will find this example.
When the application ends the process ends and therefore all the memory is released, so it should not be necessary to unsubscribe
from events in that case. One only warning is that for the application to end all windows should be closed. We have seen some cases where for some reason the application had non-visible windows. Those windows should also be closed for the application to end
correctly (you can check if the process disappears from the task manager).
Please let me know if this helps.