disposable.js
Implements the disposable interface. The dispose method is used to clean up references and resources.

File Location

disposable/disposable.js

Classes

goog.Disposable
Class that provides the basic implementation for disposable objects. If your class holds one or more references to COM objects, DOM nodes, or other disposable objects, it should extend this class or implement the disposable interface.

Public Protected Private

Global Functions

goog.dispose(obj)
Calls {@code dispose} on the argument if it supports it. If obj is not an object with a dispose() method, this is a no-op.
Arguments:
obj :
*
The object to dispose of.
code »

Directory disposable

File Reference