However, I get an assertion failure raised now during the call of the engine's destructor when my software exits.
The assertion failure occurs while executing
asCScriptEngine::~asCScriptEngine()
-->
defaultGroup.RemoveConfiguration(this);
-->
engine->objectTypes.RemoveIndex(idx);
-->
void asCConfigGroup::ValidateNoUsage(asCScriptEngine *engine, asCObjectType *type)
-->
asASSERT(func->parameterTypes
.GetObjectType() != type);
What I do:
I register several items in default config group (i.e. without beginning any group explicitly). Then I begin a config group, register several items, end the config group and set its default state to 'false'.
When I then exit my software then first all contexts get released then the engine gets released (call to --> Release()).
The engine->Release() call finally triggers the process where the assertion failure happens.
Any idea? What other information would you need to provide assistance?
The code works if I don't use the config group, i.e. register all elements in the default config group.
I'm using AngelScript 2.20.0
Many thanks!