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:
@ -178,10 +178,15 @@ L4SysExperiment::L4SysExperiment()
|
||||
}
|
||||
|
||||
L4SysExperiment::~L4SysExperiment() {
|
||||
destroy();
|
||||
}
|
||||
|
||||
void L4SysExperiment::destroy() {
|
||||
delete param;
|
||||
}
|
||||
|
||||
void L4SysExperiment::terminate(int reason) {
|
||||
destroy();
|
||||
simulator.terminate(reason);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user