From 06aa41de77264f33ebfaaff90eed1758d46d6045 Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Mon, 16 Jun 2025 10:40:36 +0200 Subject: [PATCH] actor now needs explicit become when changing behavior (state) --- asys.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/asys.lisp b/asys.lisp index 6590d96..10063ae 100644 --- a/asys.lisp +++ b/asys.lisp @@ -30,7 +30,8 @@ (setf state (+ state msg)) (if (/= 0 state) (forward state state syns env)) - (lambda (msg) (cumulate msg state syns env))) + (actor:become + (lambda (msg) (cumulate msg state syns env)))) ;;;; publish/subscribe - pubsub service