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) {
std::vector<const cEvent*> tmpResults;
#if VDRVERSNUM >= 20301
LOCK_SCHEDULES_READ;
LOCK_CHANNELS_READ;
// const cChannels* channels = Channels;
LOCK_SCHEDULES_READ;
const cSchedules* schedules = Schedules;
#else
cSchedulesLock schedulesLock;