[mythtv-commits] mythtv/master commit: 2c8a1c97f by Daniel Kristjansson (daniel-kristjansson)

MythTV noreply at mythtv.org
Thu May 5 16:38:36 UTC 2011


      Author:  Daniel Kristjansson <danielk at cuymedia.net>
 Change Date:  2011-05-05T09:38:16-07:00
   Push Date:  2011/05/05 09:38:25 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  2c8a1c97f09d71325e70c0eb127ec253562b9a4f
   Changeset:  https://github.com/MythTV/mythtv/commit/2c8a1c97f

Log:

Make sure we shut down read ahead thread before we delete mythcorecontext. This avoids segfaults when a dispatch event is triggered by an event. This also makes a related change to the mythobservable dtor to make this a segfault unlikely even when an event is dispatched after the mythobservable is deleted.

Modified:

   mythtv/libs/libmythbase/mythcorecontext.cpp
   mythtv/libs/libmythbase/mythobservable.cpp
   mythtv/libs/libmythbase/mythsocketthread.cpp
   mythtv/libs/libmythbase/mythsocketthread.h



More information about the mythtv-commits mailing list