diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-22 16:24:14 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-22 16:24:14 +0900 |
| commit | 02c7ca8e849807130e732b9b639593f49dd5abc8 (patch) | |
| tree | b7b7f9f5e17c41f1786d25aecfa373eb90978f35 /internal/dbus/proxy.go | |
| parent | 1b1733b984a1481d29d747bf208029ceafd75564 (diff) | |
internal/dbus: add cleanup
This prevents leaking the test process in the test suite.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/dbus/proxy.go')
| -rw-r--r-- | internal/dbus/proxy.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
