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.
I don't think we bother with that very much. I haven't seen valgrind complain about it, although valgrind has a lot of problems to overcome to be usable with Wine anyway :).
Somewhat heading in the opposite direction - one could cache the vulkan instance, instead of creating/destroying (the exact same one?) multiple times.
That's a good idea, thanks.
No worries, thanks for taking interest and having a look :)