[ HasEmitter ]
[ Version ( since = "0.2" ) ]
public virtual signal void destroy ()

The destroy signal notifies that all references held on the actor which emitted it should be released.

The destroy signal should be used by all holders of a reference on actor.

This signal might result in the finalization of the Actor if all references are released.

Composite actors and actors implementing the Container interface should override the default implementation of the class handler of this signal and call destroy on their children. When overriding the default class handler, it is required to chain up to the parent's implementation.