[mythtv-commits] Ticket #11383: Closing a screen when using the Qt painter can segfault
MythTV
noreply at mythtv.org
Sat May 18 16:05:31 UTC 2013
#11383: Closing a screen when using the Qt painter can segfault
---------------------------------------------+-----------------------------
Reporter: paulh <mythtv@…> | Owner: stuartm
Type: Bug Report - Crash | Status: closed
Priority: minor | Milestone: 0.27
Component: MythTV - User Interface Library | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
---------------------------------------------+-----------------------------
Comment (by Paul Harrison <mythtv@…>):
In [changeset:d1a48313dac5510795250c783bca2fe56ee6d7b1/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="d1a48313dac5510795250c783bca2fe56ee6d7b1"
Fix possible segfault when exiting a screen when using the Qt painter
This changes MythScreenStack::PopScreen() to call deleteLater() on the
screen rather than immediately deleting it so as to allow any
keypressEvent
handlers to complete safely before the screen is deleted when control
returns to the event loop.
Fixes #11383.
(cherry picked from commit c713988707d2c795a2a2abeff817d1b187d4b3f6)
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11383#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list