We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lua包装的UObject对象在GC的时候,会调用到NotifyUObjectLuaGC,这里会调用Env->AutoObjectReference.Remove(Object)。 但是发现只有DelegateRegistry在使用这个AutoObjectReference,只会添加ULuaDelegateHandler对象。 所以想问下为什么要在UObject GC的时候移除AutoObjectReference里面的元素呢? 是否可以去掉NotifyUObjectLuaGC方法里的这个AutoObjectReference.Remove调用?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Lua包装的UObject对象在GC的时候,会调用到NotifyUObjectLuaGC,这里会调用Env->AutoObjectReference.Remove(Object)。
但是发现只有DelegateRegistry在使用这个AutoObjectReference,只会添加ULuaDelegateHandler对象。
所以想问下为什么要在UObject GC的时候移除AutoObjectReference里面的元素呢?
是否可以去掉NotifyUObjectLuaGC方法里的这个AutoObjectReference.Remove调用?
The text was updated successfully, but these errors were encountered: