mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Delete the waitTillSet when destroying the class
This commit is contained in:
parent
854c1980cc
commit
758176dd32
1 changed files with 5 additions and 0 deletions
|
@ -409,6 +409,11 @@ ClassDef::~ClassDef()
|
|||
delete[] responseLookup;
|
||||
responseLookup = NULL;
|
||||
}
|
||||
#ifdef WITH_SCRIPT_ENGINE
|
||||
if (waitTillSet) {
|
||||
delete waitTillSet;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef WITH_SCRIPT_ENGINE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue