From 46cd3a28c83e93b5d66c52d06a8366c11910d5c0 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 29 Sep 2025 02:33:10 +0900 Subject: container: remove global msg This frees all container instances of side effects. Signed-off-by: Ophestra --- system/dbus/export_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'system/dbus/export_test.go') diff --git a/system/dbus/export_test.go b/system/dbus/export_test.go index 574a4a73..b1dc365f 100644 --- a/system/dbus/export_test.go +++ b/system/dbus/export_test.go @@ -3,11 +3,13 @@ package dbus import ( "context" "io" + + "hakurei.app/container" ) // NewDirect returns a new instance of [Proxy] with its sandbox disabled. -func NewDirect(ctx context.Context, final *Final, output io.Writer) *Proxy { - p := New(ctx, final, output) +func NewDirect(ctx context.Context, msg container.Msg, final *Final, output io.Writer) *Proxy { + p := New(ctx, msg, final, output) p.useSandbox = false return p } -- cgit v1.3.1