Skip to content

Commit

Permalink
[engines] More complete cleanup at exit
Browse files Browse the repository at this point in the history
  • Loading branch information
mean committed May 4, 2015
1 parent 77c5e9c commit 8429f42
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions avidemux/common/ADM_script2/src/ADM_script.cpp
Expand Up @@ -106,10 +106,12 @@ void destroyScriptEngines()
delete engines[i];
}

for (int i = 0; i < engines.size(); i++)
{
delete engineLoaders[i];
}
for (int i = 0; i < engines.size(); i++)
{
delete engineLoaders[i];
}
engines.clear();
engineLoaders.clear();
}

IScriptEngine* getDefaultScriptEngine()
Expand Down

0 comments on commit 8429f42

Please sign in to comment.