Capítulo 295 de 411

Chapter 295: Observer.kill()

Core Idea

Permanently disables the Observer and removes it from the internal registry (so getAll()/getById() can no longer find it), freeing it for garbage collection.

Key Takeaways

  1. Use disable() instead if you might re-enable it later — kill() is a one-way operation.

Connects To

  • Observer.disable(): the reversible pause.
  • Observer.getAll(), getById(): the registry this removes the instance from.