Latest referencesmanagment Activity
Thank you very much, that enlightened me.
I choosed to register the behaviors for garbage collection. By design, the class constructor creates a new asIScriptContext for running the callbacks, and it was released at the destructor code, now it's automatically released when the references are release…
Yes, that was what I thought I understood. Even with that I did some more tests and I was not expecting that behavior. Since I think this topic might be interesting for someone else, I'll open another thread explaining better.
https://www.gamedev.net/forums/topic/705642-odd-behavior-on-using-delegat…
Advertisement
Advertisement