Emil Velikov (@xexaxo) commented about dlls/winex11.drv/xrandr.c:
return r;
}
+#ifdef SONAME_LIBVULKAN
+static void vulkan_init_once(void) +{
- if (!(vulkan_handle = dlopen( SONAME_LIBVULKAN, RTLD_NOW )))
Does wine (usually) close() the libraries at some point? I'm wondering if anyone runs valgrind (with or without your MR) and they would see extra "leaks" in the report.
Somewhat heading in the opposite direction - one could cache the vulkan instance, instead of creating/destroying (the exact same one?) multiple times.
Just my final question, no more or less. Promise I won't interrogate you further 😅
Massive thanks for all the enlightening answers 🙇