aboutsummaryrefslogtreecommitdiff
path: root/tests/VulkanUnitTests/Driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/VulkanUnitTests/Driver.cpp')
-rw-r--r--tests/VulkanUnitTests/Driver.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/VulkanUnitTests/Driver.cpp b/tests/VulkanUnitTests/Driver.cpp
index d44a240a5..a3a5c5b05 100644
--- a/tests/VulkanUnitTests/Driver.cpp
+++ b/tests/VulkanUnitTests/Driver.cpp
@@ -153,6 +153,8 @@ void Driver::unload()
dlclose(dll);
#endif
+ dll = nullptr;
+
#define VK_GLOBAL(N, R, ...) N = nullptr
#include "VkGlobalFuncs.hpp"
#undef VK_GLOBAL