[EPG] Do *Persist*() calls on a copy of m_epgs
authorTrent Nelson <trent.nelson@pivosgroup.com>
Tue, 20 May 2014 09:58:59 +0000 (17:58 +0800)
committerTrent Nelson <trent.nelson@pivosgroup.com>
Tue, 20 May 2014 12:33:59 +0000 (20:33 +0800)
commit2ba1c43731c482661f61c7009f99dd089ddfdb6d
tree6db79c37aab32ae10ca32a17f70dd24f28db7938
parentc69432b865c3dd6cde0b9edebdedefd6fe5a4ed6
[EPG] Do *Persist*() calls on a copy of m_epgs

We can get in a situation where PersistAll() and PersistTables() are
running simutaneously, leading to memory corruption.
xbmc/epg/EpgContainer.cpp
xbmc/epg/EpgDatabase.cpp
xbmc/epg/EpgDatabase.h