aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/process.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/process.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/process.go')
-rw-r--r--internal/app/process.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/app/process.go b/internal/app/process.go
index 2046ddf8..41fe4bd8 100644
--- a/internal/app/process.go
+++ b/internal/app/process.go
@@ -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 {