Opened 17 years ago
Closed 17 years ago
#5815 closed patch (fixed)
PATCH: Mythfrontend wasn't stopping automatic shutdown (any more)
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | mythfrontend automatic shutdown |
Cc: | Ticket locked: | no |
Description
The checkTimeZone() call in main in programs/mythfrontend/main.cpp causes a connection to be made to the Masterbackend.
As a consequence the call to gContext->ConnectToMasterServer() further down the method not make a connection to the backend that stops it shutting down (when the system is appropriately configured).
My simple fix to this was to move the call to ConnectToMasterServer() to before the checkTimeZone() call.
Single file patch attached.
Attachments (1)
Change History (3)
by , 17 years ago
Attachment: | mythtv-ticket5815-patch.txt added |
---|
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [18699]) Move the call to checkTimeZone() to after the call to gContext->ConnectToMasterServer() when myth is set to auto shutdown when idle. This makes sure a blocking connection to the backend is opened when the FE is started which will block BE shutdown until closed.
Patch to fix.