diff options
author | Liong Sauw Ming <ming@teluu.com> | 2011-08-24 08:00:30 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2011-08-24 08:00:30 +0000 |
commit | 74b63dd741b07f1a67cc75303a36db44c35c47a8 (patch) | |
tree | 50f0b4949e2c5924a7a5b24d5f832045e8cec50f /pjsip-apps | |
parent | fbf764dc08de654b992e1d91eb4392cc8a3dbb0a (diff) |
Fixed #1334: Fix the problem of getting stuck when trying to quit SDL.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3720 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps')
-rw-r--r-- | pjsip-apps/src/vidgui/vidgui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pjsip-apps/src/vidgui/vidgui.cpp b/pjsip-apps/src/vidgui/vidgui.cpp index 4615ccdb..dfc809cd 100644 --- a/pjsip-apps/src/vidgui/vidgui.cpp +++ b/pjsip-apps/src/vidgui/vidgui.cpp @@ -104,6 +104,8 @@ void MainWin::initLayout() void MainWin::quit() { + if (preview_on) + preview(); pjsua_destroy(); qApp->quit(); } |