niluzhou1984 at foxmail.com
Fri Apr 6 10:42:48 UTC 2018
I embed the mono in my game engine.And create managed object by invoke mono_object_new then call mono_gchandle_new to ref the object.
MonoObject* monoObject= mono_object_new()
uint32_t objectHandle = mono_gchandle_new(monoObject,false);
Will monoObject be gabage collected between step1 and step2? If yes how to prevent it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list