[simulator] After deleting sub-modules, explicitly NULL the variables in use. This should prevent the case of other classes using already deleted modules. More specifically, when Progress() is being deleted and calls into an already deleted TraceManager() (because it still thinks that it is still valid), it can cause a crash
[simulator] After deleting sub-modules, explicitly NULL the variables in use. This should prevent the case of other classes using already deleted modules. More specifically, when Progress() is being deleted and calls into an already deleted TraceManager() (because it still thinks that it is still valid), it can cause a crash

abanaiyan/sniper,abanaiyan/sniper,abanaiyan/sniper,abanaiyan/sniper,abanaiyan/sniper