aboutsummaryrefslogtreecommitdiff
path: root/backends/plugins/posix/posix-provider.cpp
diff options
context:
space:
mode:
authorMax Horn2006-10-07 01:05:12 +0000
committerMax Horn2006-10-07 01:05:12 +0000
commitdf5be194098e188f9cd3234af2bea34b67d19da2 (patch)
treee9b797f971d73146f4f9e973168f4fe8bc79bb42 /backends/plugins/posix/posix-provider.cpp
parentc8a21d19d164d40fc543d3a908789ee249a292fc (diff)
downloadscummvm-rg350-df5be194098e188f9cd3234af2bea34b67d19da2.tar.gz
scummvm-rg350-df5be194098e188f9cd3234af2bea34b67d19da2.tar.bz2
scummvm-rg350-df5be194098e188f9cd3234af2bea34b67d19da2.zip
Instantiate and hook up the plugin providers in the main() function of the corresponding backends (porters may have to update their ports if they were using the POSIX or Win32 module loading code implicitly); some cleanup
svn-id: r24153
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;
}
}
};