From e5e532d83f6f190f8dc7403a58cea613277fb82c Mon Sep 17 00:00:00 2001 From: cflmy Date: Sun, 18 Oct 2026 14:38:27 +0800 Subject: [PATCH] fix(foreign): keep session_list arity empty ForeignSessionList accepts no id; only ForeignSessionInterrupt takes id. --- src/host/dispatch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/host/dispatch.rs b/src/host/dispatch.rs index 7741253..abf7388 100644 --- a/src/host/dispatch.rs +++ b/src/host/dispatch.rs @@ -907,7 +907,7 @@ impl HostFn { Self::ForeignSessionGet => &["id", "name"], Self::ForeignSessionNames => &["id"], Self::ForeignSessionClose => &["id"], - Self::ForeignSessionList => &["id"], + Self::ForeignSessionList => &[], Self::ForeignSessionInterrupt => &["id"], Self::ForeignLangs => &[], Self::PluginLoad => &["path"],