Skip to content

Commit

Permalink
stackhelper clear needs sync with m_itemCurrentFile
Browse files Browse the repository at this point in the history
  • Loading branch information
Voyager1 authored and FernetMenta committed Jan 5, 2018
1 parent 61badc4 commit a2020b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/Application.cpp
Expand Up @@ -3997,7 +3997,6 @@ bool CApplication::OnMessage(CGUIMessage& message)
// reset the current playing file
m_itemCurrentFile->Reset();
g_infoManager.ResetCurrentItem();
m_stackHelper.Clear();

if (message.GetMessage() == GUI_MSG_PLAYBACK_ENDED)
{
Expand Down Expand Up @@ -4044,6 +4043,7 @@ bool CApplication::OnMessage(CGUIMessage& message)
if (!m_appPlayer.IsPlaying())
{
m_itemCurrentFile.reset(new CFileItem());
m_stackHelper.Clear();
}

if (IsEnableTestMode())
Expand Down

0 comments on commit a2020b6

Please sign in to comment.