Optional
Protected
Registers an object for auto release. When the object is not used anymore, it will be released automatically from C++.
The pointer ID to register
Static
Registers an object for auto release. When the object is not used anymore, it will be released automatically from C++.