internal/app: hang up security-context-v1 internally
Some checks failed
Test / Create distribution (push) Successful in 34s
Test / Sandbox (push) Successful in 2m13s
Test / Hakurei (push) Successful in 3m8s
Test / Hpkg (push) Successful in 4m6s
Test / Sandbox (race detector) (push) Successful in 4m34s
Test / Hakurei (race detector) (push) Successful in 5m15s
Test / Flake checks (push) Has been cancelled

This should have been an implementation detail and should not be up to the caller to close.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-10-05 03:19:37 +09:00
parent eb5ee4fece
commit 1a5d59c58f
6 changed files with 50 additions and 84 deletions

View File

@@ -124,11 +124,6 @@ func (ms mainState) beforeExit(isFault bool) {
}
ms.Resume()
if ms.k.sync != nil {
if err := ms.k.sync.Close(); err != nil {
perror(err, "close wayland security context")
}
}
}
if ms.uintptr&mainNeedsRevert != 0 {