Commit 18bcbe92 authored by Michael Pyne's avatar Michael Pyne

Stop playback before taking shutdown actions.

This seems to prevent a gstreamer deadlock I sometimes get when trying
to quit, though it's only a guess as to whether this is the cause or
not.
parent 3bca3e32
......@@ -514,6 +514,7 @@ void JuK::slotShowHide()
void JuK::slotAboutToQuit()
{
m_shuttingDown = true;
m_player->stop();
deleteAndClear(m_systemTray);
deleteAndClear(m_splitter);
......
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