asIScriptFunction *func = mod->GetFunctionByDecl("void main()");
ctx->Prepare(func);
ctx->Execute();
ctx->Unprepare();
ctx->Release();
func->Release();
engine->Release();
It is an error message followed by a crash.
func shouldn't be released here, but i did it by mistake.
Error message says the opposite of what happens here.
GC cannot free an object type of '_builtin_function_', it is kept alive by the application.
i looked around the code for an extra func->AddRef() for hours.
Did i misinterpret this error message?
or is this a bug?
Thank you.






