Sys.Application.registerDisposableObject Method
Registers with the application an object that will require disposing. This member is static and can be invoked without creating an instance of the class.
Syntax
Sys.Application.registerDisposableObject(object);
Arguments
-
object
-
The object to register.
Remarks
If your class derives from the Component class, you do not have to call the registerDisposableObject method. The Component class automatically disposes the object when the application unloads.