User Guide

86 Chapter 3: Cross-Product Extensions
RPCMethods.CreateAutoReleasePool()
Usage
RPCMethods.CreateAutoReleasePool()
Arguments
None.
Returns
Nothing.
Description
Starts the auto-release block.
RPCMethods.DestroyAutoReleasePool()
Usage
RPCMethods.DestroyAutoReleasePool()
Arguments
None.
Returns
Nothing.
Description
Ends the auto-release block and frees all allocated remote objects in the current auto-release
block function.
RPCMethods.AddToAutoReleasePool()
Usage
RPCMethods.AddToAutoReleasePool(proxyObject)
Arguments
proxyObject
The object to add to the current pool.
Returns
Nothing.
Description
Adds an object to the current auto-release pool. This function is called by the auto-release block.
If no object pool exists, this function does nothing.