diff options
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; } |
