[mythtv-commits] mythtv/master commit: aba1fb05d by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Wed Feb 9 05:24:20 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-02-08T21:03:05-08:00
   Push Date:  2011/02/08 21:24:18 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  aba1fb05dd342b18d4ac0d87ab5cf53854baed43
   Changeset:  https://github.com/MythTV/mythtv/commit/aba1fb05d

Log:

Make it so the second frontend won't crash

If for some reason, a user decides to run two frontends on the same box, and
forget to set the service port to something non-standard for the second one,
we want it to at least not crash.

With this commit, it will just give up on running a webserver on the second run
frontend, but it will run.

Several tweaks were necessary to make the deleted webserver not double-free
and not otherwise corrupt memory.

Modified:

   mythtv/libs/libmythupnp/httpserver.cpp
   mythtv/libs/libmythupnp/httpserver.h
   mythtv/libs/libmythupnp/threadpool.cpp
   mythtv/libs/libmythupnp/threadpool.h
   mythtv/programs/mythfrontend/main.cpp
   mythtv/programs/mythfrontend/mediarenderer.h



More information about the mythtv-commits mailing list