[mythtv-commits] mythtv/fixes/0.24 commit: 51e34863f by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Wed Feb 2 21:56:30 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-02-02T13:55:56-08:00
   Push Date:  2011/02/02 13:56:28 -0800
  Repository:  mythtv
      Branch:  fixes/0.24
New Revision:  51e34863f2c3b62da469c27a10e259fc80fe91b9
   Changeset:  https://github.com/MythTV/mythtv/commit/51e34863f

Log:

Change ThreadPool shutdown to use deleteLater

This is to fix #9500, which has the frontend segfaulting on shutdown.  This
code will hopefully all be overhauled in the awaited webserver rewrite, but
in the mean time, let's have it behaving.

I also moved the order of removing from the deque and marking it for deletion,
as I was toying with different locking methods.
(cherry picked from commit 255a074b19a9c72ee91a6028efe195d723854cf8)

Modified:

   mythtv/libs/libmythupnp/threadpool.cpp



More information about the mythtv-commits mailing list