diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-09-07 17:23:32 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-09-07 17:23:32 +0200 |
commit | 41eb32389dd3138c9e54a7fa87ae9f7be4a00aa3 (patch) | |
tree | a7988f0989e90fa12f8275cbd27f99cd04532230 /detailview.c | |
parent | f4369c077258f4d64d9ff66b854fd8e7aee4548c (diff) | |
download | vdr-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.c | 4 |
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 |