ticket 1043

This commit is contained in:
Peter Veentjer 2011-07-22 08:18:34 +03:00
parent 6a91ec0baa
commit 1006fa61db

View file

@ -228,11 +228,11 @@ A child actor can tell the supervising actor to unlink him by sending him the 'U
.. code-block:: scala
if (supervisor.isDefined) supervisor.get ! Unlink(this)
if (supervisor.isDefined) supervisor.get ! Unlink(self)
// Or shorter using 'foreach':
supervisor.foreach(_ ! Unlink(this))
supervisor.foreach(_ ! Unlink(self))
The supervising actor's side of things
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^