Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a problem with the new MythSignalingTimer consuming all memory an…
…d causing both MythFrontend and MythWelcome to become unresponsive and eventually to be killed by the OOM killer. The problem is triggered when the main UI thread is stopped waiting for another external process to finish, e.g. when using an external player or when starting the FE from MythWelcome. Because the timer is run in its own thread it continues to emit the timeout signals which just get queued up waiting to be handled. This patch just start/stops the timer when SetDrawEnabled(true/false) is called and changes myth_system() to disable drawing when an external process is running and re-enables it when it finishes. git-svn-id: http://svn.mythtv.org/svn/trunk@23575 7dbf422c-18fa-0310-86e9-fd20926502f2
- Loading branch information
Paul Harrison
committed
Feb 20, 2010
1 parent
4f8eb42
commit c1250a6
Showing
2 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters