Experiments need to cleanup residual events on exit. Empty MemAccessTracingTest-dir removed.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1245 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -98,6 +98,7 @@ bool WeathermonitorExperiment::run()
|
||||
std::ofstream of(tracefile);
|
||||
if (of.fail()) {
|
||||
log << "failed to write " << tracefile << endl;
|
||||
sal::simulator.clearEvents(this); // cleanup
|
||||
return false;
|
||||
}
|
||||
trace.SerializeToOstream(&of);
|
||||
|
||||
Reference in New Issue
Block a user