[mythtv-commits] mythtv commit: r6986 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Aug 4 13:13:25 UTC 2005

      Author: danielk
        Date: 2005-08-04 13:13:24 +0000 (Thu, 04 Aug 2005)
New Revision: 6986
   Changeset: http://cvs.mythtv.org/trac/changeset/6986




Closes #196.

Moving the screensaver stuff to Init() in [6984] did not fix the
segmentation fault caused by [6977]. Looking deeper at the problem
it looks like we need neither the lirc nor the joystick lock at
that point. These are only needed once there is a MythMainWindow.

So this fix:
 * Makes util.cpp only request the locks when there is a MythContext
   and it has a MythMainWindow.
 * Adds a safety check for the existance of a MythContext in lock().
 * Initializes all the variables in MythContextPrivate as early as
   possible; to make sure all pointers are initialized to NULL if
   they haven't been set yet.

More information about the mythtv-commits mailing list