> try
> {
> while (true)
> {
> receive((string s){
> writefln(s);
> });
> }
> }
> catch (OwnerTerminated ex)
> {
> // die.
> }
If you remove the the try..catch you will notice that OwnerTerminated is
thrown, if this is the intended behaviour, I don't know. Probably is,
because this would be a pretty obvious bug.