[vlmc-devel] Fix crash when closing the application while previews are playing

Yikai Lu git at videolan.org
Mon Jun 27 11:19:28 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Mon Jun 27 18:12:17 2016 +0900| [0163177e51f187b9b6281b5ee0160e42655b7684] | committer: Yikai Lu

Fix crash when closing the application while previews are playing

> https://code.videolan.org/videolan/vlmc/commit/0163177e51f187b9b6281b5ee0160e42655b7684
---

 src/Gui/MainWindow.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
index ff3fa32..c77a2f1 100644
--- a/src/Gui/MainWindow.cpp
+++ b/src/Gui/MainWindow.cpp
@@ -136,6 +136,8 @@ MainWindow::MainWindow( Backend::IBackend* backend, QWidget *parent )
 
 MainWindow::~MainWindow()
 {
+    m_projectPreview->stop();
+    m_clipPreview->stop();
     delete m_importController;
 }
 



More information about the Vlmc-devel mailing list