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.
Sys.Application.registerDisposableObject(object);
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.
Show: