Skip to content

Commit

Permalink
fixed crash when resetting the epg while the pvr manager is not runni…
Browse files Browse the repository at this point in the history
…ng. trac: 14448
  • Loading branch information
opdenkamp committed Oct 13, 2013
1 parent 868dd46 commit 2788229
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/pvr/PVRManager.cpp
Expand Up @@ -674,7 +674,8 @@ void CPVRManager::ResetDatabase(bool bResetEPGOnly /* = false */)
pDlgProgress->Progress();

/* reset the EPG pointers */
m_database->ResetEPG();
if (m_database)
m_database->ResetEPG();

/* stop the thread */
Stop();
Expand Down

0 comments on commit 2788229

Please sign in to comment.