From df1ff32399c0cc237b82b1207e67180a80e3a795 Mon Sep 17 00:00:00 2001 From: s-ol Date: Sun, 21 Sep 2025 17:06:08 +0200 Subject: lib/osc: fix error when not keeping up with input events --- alv-lib/osc.moon | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/alv-lib/osc.moon b/alv-lib/osc.moon index 7de3452..82be97e 100644 --- a/alv-lib/osc.moon +++ b/alv-lib/osc.moon @@ -48,6 +48,8 @@ listen = Constant.meta @setup_out '!', T['osc/in'] poll: => + if @inputs.io.result\dirty! return + messages = while true data = @state\receive! break unless data @@ -120,6 +122,8 @@ recv_evt = Constant.meta continue if msg.address != path continue if msg.types != types + continue if @out\dirty! + if @state @out\set [v for v in *msg] else -- cgit v1.2.3