Fix memory issues.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-03-07 18:20:42 +01:00
parent 7216d9d71b
commit 20f90222d1
3 changed files with 12 additions and 8 deletions

View File

@@ -34,6 +34,9 @@ private:
public:
~AngelScriptResolver() override {
for (const auto& ius : _itemUseScripts) {
delete ius.second;
}
delete _contextPool;
for (const auto& category : _typeDatabase) {
for (const auto& type : category.second) {