The Application.End method must only dispose the runState instance and not doing all the job of the Application.RunState class that must be responsible to do it.
The Application.Shutdown method must only freeing all the objects that aren't yet disposed.
The
Application.Endmethod must only dispose therunStateinstance and not doing all the job of theApplication.RunStateclass that must be responsible to do it.The
Application.Shutdownmethod must only freeing all the objects that aren't yet disposed.