From 5cdccf5559729b1abfbb097fca0eb0f22965704c Mon Sep 17 00:00:00 2001 From: Vasco Date: Mon, 24 Aug 2026 18:19:47 +0100 Subject: Peak 0.5.3 --- Peak/src/p_linux.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Peak/src/p_linux.c') diff --git a/Peak/src/p_linux.c b/Peak/src/p_linux.c index 9090b46..a93c236 100644 --- a/Peak/src/p_linux.c +++ b/Peak/src/p_linux.c @@ -199,9 +199,11 @@ peak_platform_init(void) static void peak_platform_quit(void) { + /* NOTE: NVIDIA's Vulkan ICD registers an XCloseDisplay hook, then + * vkDestroyInstance unloads the ICD. Closing afterwards is a SIGSEGV + * into unmapped memory. The connection is dropped on process exit. */ if (!peak_linux.display) return; - peak_x11.XCloseDisplay(peak_linux.display); peak_linux.display = 0; } -- cgit v1.3.1