Commit 2b16e326 authored by Sergey Radionov's avatar Sergey Radionov

npapi win32: detach VlcPlugin from drawable on windows destroying.

parent bff3c7a4
...@@ -133,6 +133,7 @@ bool VlcPluginWin::resize_windows() ...@@ -133,6 +133,7 @@ bool VlcPluginWin::resize_windows()
bool VlcPluginWin::destroy_windows() bool VlcPluginWin::destroy_windows()
{ {
_WindowsManager.DestroyWindows(); _WindowsManager.DestroyWindows();
SetWindowLongPtr(hWnd, GWLP_USERDATA, 0);
return true; return true;
} }
......
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