[mythtv-commits] mythtv commit: r24646 by mdean

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Fri May 14 00:31:18 UTC 2010


      Author: mdean
        Date: 2010-05-14 00:31:18 +0000 (Fri, 14 May 2010)
New Revision: 24646
   Changeset: http://svn.mythtv.org/trac/changeset/24646

Modified:

   trunk/mythtv/programs/mythcommflag/main.cpp

Log:

Ensure we always clean up properly when exiting mythcommflag.

This adds a cleanup guard to mythcommflag to ensure gContext is always deleted, regardless of where we exit (as we exit in different places for many of the command-line arguments).  There were several locations where we failed to delete the MythContext on exit, and--coupled with recent changes to the event-passign code--caused problems in some of these situations, dependent on what happened as we were exiting.  Refs #8310.





More information about the mythtv-commits mailing list