Decided to do this while going over code review with @Denz1994.
The only necessary dispose code is in the view for Shopping and Shopping Lab screens. Everything else (model and view) exists for the lifetime of the sim. So the only places that we should find dispose: are in:
We noticed that there are some dispose functions implemented in the model and the Racing Lab screen. Since that code is unused (and therefore untested), it would be better to delete it, and document why dispose is unnecessary in these cases.
Decided to do this while going over code review with @Denz1994.
The only necessary
dispose
code is in the view for Shopping and Shopping Lab screens. Everything else (model and view) exists for the lifetime of the sim. So the only places that we should finddispose:
are in:We noticed that there are some
dispose
functions implemented in the model and the Racing Lab screen. Since that code is unused (and therefore untested), it would be better to delete it, and document whydispose
is unnecessary in these cases.