[mythtv-commits] Ticket #10185: Exiting mythgallery (photo gallery) hangs frontend

MythTV noreply at mythtv.org
Tue Jan 3 08:43:14 UTC 2012


#10185: Exiting mythgallery (photo gallery) hangs frontend
-------------------------------------------------+-------------------------
 Reporter:  Ken Emerson <kenneth.emerson@…>      |          Owner:  beirdo
     Type:  Bug Report - General                 |         Status:  closed
 Priority:  minor                                |      Milestone:  0.25
Component:  Plugin - MythGallery                 |        Version:  Trunk
 Severity:  medium                               |  Head
 Keywords:                                       |     Resolution:  fixed
                                                 |  Ticket locked:  0
-------------------------------------------------+-------------------------
Changes (by Github):

 * status:  new => closed
 * resolution:   => fixed
 * milestone:  unknown => 0.25


Comment:

 Make the ThumbGenerator thread actually abort

 When you exit mythgallery, it deletes the ThumbGenerator, which causes it
 to
 wait for completion.  As the inner code was never checking for an abort,
 sometimes this would take a very long time, especially when dealing with
 RAW format pictures.

 Now, when cancel() is called, a flag is set that is checked in the inner
 loops to cause a more immediate exit.

 Fixes #10185
  Branch:    master
  Changeset: 3b83dbd6de293f1f5844675ff20da17a78e3a5ff

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


More information about the mythtv-commits mailing list