aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/finalise.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-05 03:19:37 +0900
committerOphestra <cat@gensokyo.uk>2025-10-05 03:25:13 +0900
commit8ace2148326d85312a157e19e596978361e9285d (patch)
tree5f0214a6dd7b804b4bb2422c21d30e1b76a73f68 /internal/app/finalise.go
parenteb5ee4fece0327b1183ae823d68e4cf4e3e1ced0 (diff)
system/wayland: hang up security-context-v1 internally
This should have been an implementation detail and should not be up to the caller to close. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/finalise.go')
-rw-r--r--internal/app/finalise.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/internal/app/finalise.go b/internal/app/finalise.go
index 46edc950..df2f0fb0 100644
--- a/internal/app/finalise.go
+++ b/internal/app/finalise.go
@@ -39,9 +39,6 @@ type outcome struct {
container container.Params
- // TODO(ophestra): move this to the system op
- sync *os.File
-
// Populated during outcome.finalise.
proc *finaliseProcess
@@ -227,7 +224,7 @@ func (k *outcome) finalise(ctx context.Context, msg container.Msg, id *state.ID,
et := config.Enablements.Unwrap()
if et&hst.EWayland != 0 {
- ops = append(ops, &spWaylandOp{sync: &k.sync})
+ ops = append(ops, &spWaylandOp{})
}
if et&hst.EX11 != 0 {
ops = append(ops, &spX11Op{})