Skip to content

Commit

Permalink
Added a guard for headless when playlist is stopped, to circumvent a …
Browse files Browse the repository at this point in the history
…crash when playlist is stopped
  • Loading branch information
topfs2 committed Feb 8, 2015
1 parent 44500bf commit 93f3bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/Application.cpp
Expand Up @@ -4310,7 +4310,7 @@ bool CApplication::OnMessage(CGUIMessage& message)
{
g_windowManager.PreviousWindow();
}
else
else if (!IsHeadless())
{
CSingleLock lock(g_graphicsContext);
// resets to res_desktop or look&feel resolution (including refreshrate)
Expand Down

0 comments on commit 93f3bec

Please sign in to comment.