[vlc-commits] npapi win32: added destroying windows to right place.

Sergey Radionov git at videolan.org
Wed Dec 21 12:54:11 CET 2011


npapi-vlc | branch: master | Sergey Radionov <RSATom at gmail.com> | Mon Dec 12 10:47:24 2011 +0700| [647718184a53881090c678fa070de51efc209bcd] | committer: Jean-Baptiste Kempf

npapi win32: added destroying windows to right place.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=647718184a53881090c678fa070de51efc209bcd
---

 npapi/vlcplugin_win.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/npapi/vlcplugin_win.cpp b/npapi/vlcplugin_win.cpp
index 7ac1829..358a746 100644
--- a/npapi/vlcplugin_win.cpp
+++ b/npapi/vlcplugin_win.cpp
@@ -168,6 +168,8 @@ bool VlcPluginWin::resize_windows()
 
 bool VlcPluginWin::destroy_windows()
 {
+    _WindowsManager.DestroyWindows();
+
     /* reset WNDPROC */
     HWND oldwin = (HWND)npwindow.window;
     SetWindowLongPtr( oldwin, GWLP_WNDPROC, (LONG_PTR)(getWindowProc()) );



More information about the vlc-commits mailing list