2

If in my ANE I do something like this:

FREObject createObject(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[])
{
    FREObject ret, exception;
    FRENewObject( (const uint8_t*)"Object", 0, NULL, &ret, &exception );
    return ret;
}

Is the returned object (ret) garbage collected by AIR?

1
  • I won't answer, since I don't know for absolute certain, but until someone with more definitive knowledge about this answers, I'll just say that, as far as I know, AS3 is pretty good about automatic garbage collection. Jan 4, 2014 at 0:57

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.