npapi-vlc | branch: master | Sergey Radionov <[email protected]> | Sun Jan 1 22:41:21 2012 +0700| [32985f8fb1c7ec073e15e016714233c6756bd617] | committer: Sergey Radionov
npapi win32: fixed crash on close with active fullscreen mode. > http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=32985f8fb1c7ec073e15e016714233c6756bd617 --- common/win32_fullscreen.cpp | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/win32_fullscreen.cpp b/common/win32_fullscreen.cpp index 7327760..0ac1cc5 100644 --- a/common/win32_fullscreen.cpp +++ b/common/win32_fullscreen.cpp @@ -846,15 +846,15 @@ void VLCWindowsManager::CreateWindows(HWND hWindowedParentWnd) void VLCWindowsManager::DestroyWindows() { - if(_FSWnd){ - _FSWnd->DestroyWindow(); - } - _FSWnd = 0; - if(_HolderWnd){ _HolderWnd->DestroyWindow(); } _HolderWnd = 0; + + if(_FSWnd){ + _FSWnd->DestroyWindow(); + } + _FSWnd = 0; } void VLCWindowsManager::LibVlcAttach(libvlc_media_player_t* p_md) _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
