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

npapi win32: route ~VlcPluginWin to destroy_windows

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent ab6cff73
......@@ -83,15 +83,7 @@ VlcPluginWin::VlcPluginWin(NPP instance, NPuint16_t mode) :
VlcPluginWin::~VlcPluginWin()
{
HWND win = (HWND)getWindow().window;
WNDPROC winproc = getWindowProc();
if( winproc )
{
/* reset WNDPROC */
SetWindowLongPtr( win, GWLP_WNDPROC, (LONG_PTR)winproc );
}
_WindowsManager.DestroyWindows();
destroy_windows();
}
void VlcPluginWin::set_player_window()
......
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