aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/backend.c')
-rw-r--r--core/backend.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/backend.c b/core/backend.c
index 93ac8fa..6a25534 100644
--- a/core/backend.c
+++ b/core/backend.c
@@ -87,7 +87,10 @@ int backends_notify(size_t nev, channel** c, channel_value* v){
}
}
- //TODO eliminate duplicates
+ /*
+ * Do not eliminate duplicates here. There are legitimate uses for a channel occuring multiple times
+ * in one loop iteration, e.g. stateful OSC layer selectors.
+ */
DBGPF("Calling handler for instance %s with %" PRIsize_t " events", c[u]->instance->name, n - u);
rv |= c[u]->instance->backend->handle(c[u]->instance, n - u, c + u, v + u);
}