From: Christopher Allan Webber Date: Mon, 2 Jan 2017 18:17:15 +0000 (-0600) Subject: actors: Update self-destruct to run *clean-up* message handler. X-Git-Tag: v0.4.0~35 X-Git-Url: https://jxself.org/git/?p=8sync.git;a=commitdiff_plain;h=17830fd9912894b6a30a5c4a4a83722a74c01ccd;hp=17830fd9912894b6a30a5c4a4a83722a74c01ccd actors: Update self-destruct to run *clean-up* message handler. * 8sync/actors.scm (self-destruct): Wait on *clean-up* action before self-destructing by default. (run-hive): Add parameter to specify whether or not to clean-up after the hive finishes its tasks. * tests/test-actors.scm: Add tests for disabling #:clean-up on run-tasks and ensuring that *clean-up* runs on self-destruct. ---