Completed the terminate() method

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1948 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
unzner
2012-11-22 20:36:31 +00:00
parent 431678eabf
commit 86fd2abede
2 changed files with 10 additions and 0 deletions

View File

@ -178,10 +178,15 @@ L4SysExperiment::L4SysExperiment()
}
L4SysExperiment::~L4SysExperiment() {
destroy();
}
void L4SysExperiment::destroy() {
delete param;
}
void L4SysExperiment::terminate(int reason) {
destroy();
simulator.terminate(reason);
}