[vlc-commits] [Git][videolan/vlc][master] qt: fix crash on exit with `CompositorWin7`
    Steve Lhomme (@robUx4) 
    gitlab at videolan.org
       
    Sun Oct 13 14:18:20 UTC 2024
    
    
  
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
fc8ad066 by Fatih Uzunoglu at 2024-10-13T14:04:09+00:00
qt: fix crash on exit with `CompositorWin7`
The window fed to `InterfaceWindowHandler`
needs to outlive the handler, because the
handler accesses the window during its
destruction.
- - - - -
1 changed file:
- modules/gui/qt/maininterface/compositor_win7.cpp
Changes:
=====================================
modules/gui/qt/maininterface/compositor_win7.cpp
=====================================
@@ -123,6 +123,7 @@ void CompositorWin7::destroyMainInterface()
 
 void CompositorWin7::unloadGUI()
 {
+    m_interfaceWindowHandler.reset();
     m_qmlView.reset();
     commonGUIDestroy();
 }
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/fc8ad0661ccde3c428773e2fc11c6be12ba34c2f
-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/fc8ad0661ccde3c428773e2fc11c6be12ba34c2f
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
    
    
More information about the vlc-commits
mailing list