summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee/scripting/channel.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/chickadee/scripting/channel.scm b/chickadee/scripting/channel.scm
index 6df1313..b54d3e2 100644
--- a/chickadee/scripting/channel.scm
+++ b/chickadee/scripting/channel.scm
@@ -26,7 +26,8 @@
channel-get!
channel-get
channel-put!
- channel-put))
+ channel-put
+ channel-clear!))
;; A very simplified notion of channels compared to guile-fibers. In
;; our case, everything is cooperative and on the same thread, so we