summaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/view.c b/view.c
index 806a3da..4a5707c 100644
--- a/view.c
+++ b/view.c
@@ -5,7 +5,7 @@
* cView
********************************************************************************************/
-cView::cView(void) {
+cView::cView(void) : cThread("View") {
activeView = 0;
scrollable = false;
tabbed = false;
@@ -641,7 +641,7 @@ cSeriesView::cSeriesView(int seriesId, int episodeId) : cView() {
}
cSeriesView::~cSeriesView(void) {
- Cancel(-1);
+ Cancel(3);
while (Active())
cCondWait::SleepMs(10);
}
@@ -863,7 +863,7 @@ cMovieView::cMovieView(int movieId) : cView() {
}
cMovieView::~cMovieView(void) {
- Cancel(-1);
+ Cancel(3);
while (Active())
cCondWait::SleepMs(10);
}