summaryrefslogtreecommitdiff
path: root/detailview.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-09-07 17:23:32 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-09-07 17:23:32 +0200
commit41eb32389dd3138c9e54a7fa87ae9f7be4a00aa3 (patch)
treea7988f0989e90fa12f8275cbd27f99cd04532230 /detailview.c
parentf4369c077258f4d64d9ff66b854fd8e7aee4548c (diff)
downloadvdr-plugin-tvguide-41eb32389dd3138c9e54a7fa87ae9f7be4a00aa3.tar.gz
vdr-plugin-tvguide-41eb32389dd3138c9e54a7fa87ae9f7be4a00aa3.tar.bz2
Fixed a possible deadlock in detailview
Diffstat (limited to 'detailview.c')
-rw-r--r--detailview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/detailview.c b/detailview.c
index 8042f9d..5fab050 100644
--- a/detailview.c
+++ b/detailview.c
@@ -1,12 +1,12 @@
#include "detailview.h"
-cDetailView::cDetailView(const cEvent *event, cFooter *footer) {
+cDetailView::cDetailView(const cEvent *event, cFooter *footer) : cThread("DetailView") {
this->event = event;
this->footer = footer;
}
cDetailView::~cDetailView(void){
- Cancel(-1);
+ Cancel(3);
while (Active())
cCondWait::SleepMs(10);
#if VDRVERSNUM >= 20301