shutdown

public void shutdown()

Shuts down this script instance: cancels all owned tasks, clears state, and notifies the entity.