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/peak_header.h.out | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Peak/src/peak_header.h.out') diff --git a/Peak/src/peak_header.h.out b/Peak/src/peak_header.h.out index f5cc83b..4ac857b 100644 --- a/Peak/src/peak_header.h.out +++ b/Peak/src/peak_header.h.out @@ -11,7 +11,7 @@ #define PEAK_MAJOR "0" #define PEAK_MINOR "5" -#define PEAK_PATCH "2" +#define PEAK_PATCH "3" /* CHANGE LOG * 0.0.0 - @vasco - prototyping @@ -24,6 +24,7 @@ * 0.5.0 - @vasco - audio start/stop, s16le pull callback * 0.5.1 - @vasco - log, file, time, vulkan extensions * 0.5.2 - @vasco - vulkan surface from window + * 0.5.3 - @vasco - skip XCloseDisplay after vulkan teardown */ #define NANOS_PER_SEC 1000000000ull @@ -1145,9 +1146,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