[mythtv-commits] Ticket #10843: SignalHandler does not handle SIGTERM and SIGINT when there is no event loop.

MythTV noreply at mythtv.org
Mon Jun 18 14:50:53 UTC 2012


#10843: SignalHandler does not handle SIGTERM and SIGINT when there is no event
loop.
----------------------------------+-----------------------------
 Reporter:  danielk               |          Owner:  bierdo
     Type:  Bug Report - General  |         Status:  new
 Priority:  minor                 |      Milestone:  0.26
Component:  MythTV - General      |        Version:  Master Head
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+-----------------------------

Comment (by Daniel Thor Kristjansson <danielk@…>):

 In [changeset:b0473717bdca14e8d4679cda31de17c87b86cd5f/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="b0473717bdca14e8d4679cda31de17c87b86cd5f"
 Refs #10843. Adds IsExiting() call to SignalHandling.

 This allows programs to exit on a signal when they are not in
 qApp->exec().
 They just need to call QCoreApplication::processEvents() and then check
 this return value and exit if appropriate.
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10843#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list