aboutsummaryrefslogtreecommitdiff
path: root/backends/plugins/win32/win32-provider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/plugins/win32/win32-provider.cpp')
-rw-r--r--backends/plugins/win32/win32-provider.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/plugins/win32/win32-provider.cpp b/backends/plugins/win32/win32-provider.cpp
index 5eb607dc71..b88f900027 100644
--- a/backends/plugins/win32/win32-provider.cpp
+++ b/backends/plugins/win32/win32-provider.cpp
@@ -71,6 +71,7 @@ public:
if (_dlHandle) {
if (!FreeLibrary((HMODULE)_dlHandle))
warning("Failed unloading plugin '%s'", _filename.c_str());
+ _dlHandle = 0;
}
}
};