[vlc-commits] Win32, fixed crash on plugin unload
Sergey Radionov
git at videolan.org
Mon Aug 1 12:55:43 CEST 2011
npapi-vlc | branch: master | Sergey Radionov <rsatom at gmail.com> | Mon Aug 1 12:51:32 2011 +0200| [c811d5358932d89ea2d70ac9e63923286770f5a4] | committer: Jean-Baptiste Kempf
Win32, fixed crash on plugin unload
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=c811d5358932d89ea2d70ac9e63923286770f5a4
---
npapi/vlcplugin.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/npapi/vlcplugin.cpp b/npapi/vlcplugin.cpp
index 1842242..29f0c5e 100644
--- a/npapi/vlcplugin.cpp
+++ b/npapi/vlcplugin.cpp
@@ -625,6 +625,10 @@ NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[])
VlcPlugin::~VlcPlugin()
{
+#ifdef XP_WIN
+ _WindowsManager.DestroyWindows();
+#endif
+
free(psz_baseURL);
free(psz_target);
free(psz_text);
More information about the vlc-commits
mailing list