feat(system): enable window destroy capability and stabilize shutdown
publish / Build and publish Ubuntu AppImage (release) Successful in 22m40s
publish / Build and publish Windows installer (release) Successful in 31m3s
publish / Build and publish gitty-desktop to AUR (release) Successful in 50m26s

Adds a new window capability to allow destroying the window.
It also changes shutdown handling in telemetry to avoid errors.

- Add core:window:allow-destroy to default capabilities
- Avoid shutdown errors by returning a pending promise in tracedInvoke
- Improve stability during shutdown for in-flight telemetry calls
This commit is contained in:
Christoph Brandau
2026-08-13 22:11:45 +02:00
parent 56467f481d
commit f621638eb3
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -9,6 +9,7 @@
"core:window:allow-toggle-maximize",
"core:window:allow-unminimize",
"core:window:allow-close",
"core:window:allow-destroy",
"core:window:allow-is-maximized",
"core:window:allow-start-dragging",
"dialog:allow-open",