Commit 64771818 authored by Sergey Radionov's avatar Sergey Radionov Committed by Jean-Baptiste Kempf

npapi win32: added destroying windows to right place.

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 01053d05
......@@ -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()) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment