wmoo: remove events before leaving their scope
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1341 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -306,7 +306,9 @@ bool WeatherMonitorExperiment::run()
|
||||
ss << "eventid " << ev->getId() << " EIP " << simulator.getRegisterManager().getInstructionPointer();
|
||||
result->set_details(ss.str());
|
||||
}
|
||||
simulator.removeEvent(&ev_timeout);
|
||||
// explicitly remove all events before we leave their scope
|
||||
// FIXME event destructors should remove them from the queues
|
||||
simulator.clearEvents();
|
||||
}
|
||||
// sanity check: do we have exactly 8 results?
|
||||
if (param.msg.result_size() != 8) {
|
||||
|
||||
Reference in New Issue
Block a user