From 1572944ecd70e2d3f716084a058218f3e90f241d Mon Sep 17 00:00:00 2001 From: Jasmin Jessich Date: Sun, 14 May 2017 00:52:37 +0200 Subject: Added comments concerning TODOs --- epgsearch.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'epgsearch.cpp') diff --git a/epgsearch.cpp b/epgsearch.cpp index 7e92a10..0b15f10 100644 --- a/epgsearch.cpp +++ b/epgsearch.cpp @@ -578,10 +578,13 @@ SearchResult::SearchResult( string const& data ) const cEvent* SearchResult::GetEvent() { - cSchedulesLock schedulesLock; + /* JJJ: Lock order wrong, fix if function is still used + * Needs to be Timers, Channels, Recordings Schedules in this sequence + */ #if VDRVERSNUM >= 20301 LOCK_SCHEDULES_READ; #else + cSchedulesLock schedulesLock; const cSchedules* Schedules = cSchedules::Schedules(schedulesLock); #endif if (!Schedules) return NULL; -- cgit v1.2.3