Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
That's not true at all: You can delete objects just fine in almost every way possible, you just aren't allowed to initiate this deletion from the object to be deleted itself without [delay], because this would create a loop and a "chicken-and-egg" problem because the message that initiates the suicide happens at the same logical time as the suicide. This is a tree that does not end because it is cyclic.
Just to illustrate this attached is a patch which shows how to correctly commit suicide without hurting anyone else. The [delay] on the left side is used to avoid the chicken-and-egg bug that was deliberatly patched into the "bad-suicide" version on the right.
Ciao