Don't signal ScriptsChanged in ScriptManager's destructor

Fixes a crash on exit on OS X

Originally committed to SVN as r6809.
This commit is contained in:
Thomas Goyne 2012-05-16 04:57:18 +00:00
parent 7570d2b982
commit e51a86195f

View file

@ -345,7 +345,7 @@ namespace Automation4 {
// ScriptManager
ScriptManager::~ScriptManager()
{
RemoveAll();
delete_clear(scripts);
}
void ScriptManager::Add(Script *script)