Skip to main content

kill

kill( ) : void

Kills the Observer instance, calling disable() and removing it from the internal Array so that it can no longer be found via .getAll() or .getById(), making it available for garbage collection. This is permanent. If you plan on enabling the instance again later, just use disable() instead of kill().

Details

Kills the Observer instance, calling disable() and removing it from the internal Array so that it can no longer be found via .getAll() or .getById(), making it available for garbage collection. This is permanent. If you plan on enabling the instance again later, just use disable() instead of kill().

Contents