Fixed a "invalid lock sequence report"

This commit is contained in:
kamel5 2019-03-23 12:35:25 +01:00
parent ff599e4cda
commit 168973331c

View File

@ -759,9 +759,8 @@ void cRecManager::GetFavorites(std::vector<cTVGuideSearchTimer> *favorites) {
const cEvent **cRecManager::WhatsOnNow(bool nowOrNext, int &numResults) { const cEvent **cRecManager::WhatsOnNow(bool nowOrNext, int &numResults) {
std::vector<const cEvent*> tmpResults; std::vector<const cEvent*> tmpResults;
#if VDRVERSNUM >= 20301 #if VDRVERSNUM >= 20301
LOCK_SCHEDULES_READ;
LOCK_CHANNELS_READ; LOCK_CHANNELS_READ;
// const cChannels* channels = Channels; LOCK_SCHEDULES_READ;
const cSchedules* schedules = Schedules; const cSchedules* schedules = Schedules;
#else #else
cSchedulesLock schedulesLock; cSchedulesLock schedulesLock;