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