diff options
| author | Vasco <[email protected]> | 2026-08-24 18:19:47 +0100 |
|---|---|---|
| committer | Vasco <[email protected]> | 2026-08-24 18:21:55 +0100 |
| commit | 5cdccf5559729b1abfbb097fca0eb0f22965704c (patch) | |
| tree | 71177780e970b0fbc9b0e94615d40de15c46cbda /Peak/src/p_linux.c | |
| parent | cc3429220b19df8c5ca6abf28a02cd38d08de32d (diff) | |
Peak 0.5.3main
Diffstat (limited to 'Peak/src/p_linux.c')
| -rw-r--r-- | Peak/src/p_linux.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |
