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