From 02c7ca8e849807130e732b9b639593f49dd5abc8 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 22 Oct 2026 16:24:14 +0900 Subject: internal/dbus: add cleanup This prevents leaking the test process in the test suite. Signed-off-by: Ophestra --- internal/dbus/proxy.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/dbus/proxy.go') diff --git a/internal/dbus/proxy.go b/internal/dbus/proxy.go index 9de49c41..891c0c52 100644 --- a/internal/dbus/proxy.go +++ b/internal/dbus/proxy.go @@ -3,6 +3,7 @@ package dbus import ( "context" "io" + "runtime" "sync" "syscall" @@ -24,6 +25,7 @@ type Proxy struct { cancel context.CancelCauseFunc cause func() error + cleanup runtime.Cleanup final *Final output io.Writer useSandbox bool -- cgit v1.3.1