From: Christopher Allan Webber Date: Tue, 26 Apr 2016 15:46:21 +0000 (-0500) Subject: actors: Fix self-destruct. X-Git-Tag: v0.2.0~37 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=2d7aed19925bba9851cbb6945ff865ad3adcd9c0;p=8sync.git actors: Fix self-destruct. * 8sync/systems/actors.scm (self-destruct): Fix call to hash-remove!, which had the wrong arguments passed to hash-remove! --- diff --git a/8sync/systems/actors.scm b/8sync/systems/actors.scm index 286fef9..e5a2985 100644 --- a/8sync/systems/actors.scm +++ b/8sync/systems/actors.scm @@ -620,7 +620,8 @@ Like create-actor, but permits supplying an id-cookie." (define (self-destruct actor) "Remove an actor from the hive." - (hash-remove! hive-actor-registry (actor-id actor))) + (hash-remove! (hive-actor-registry (actor-hive actor)) + (actor-id actor)))