[mythtv] [mythtv-commits] mythtv commit: r17810 by paulh
Isaac Richards
ijr at case.edu
Wed Jul 16 00:04:17 UTC 2008
On Tuesday 15 July 2008 7:40:45 pm Paul Harrison wrote:
> Isaac Richards wrote:
> > What about joining these threads at exit?
> >
> > Isaac
>
> Do you mean mythmainwindow should keep track of the threads it creates
> and gracefully shut them down in its dtor? The existing code didn't seem
> to do that? That would mean somehow telling the thread it needs to exit
> and then calling wait() on it right?
Yup. The old threads were created detached, which means it didn't have to
explicitly clean them up. QThreads don't have such an attribute.
Isaac
More information about the mythtv-dev
mailing list