[mythtv] [PATCH] mythvideo crash on exit (was Mythvideo compiling on Mac OS X? and keypresses in VideoManager)

Isaac Richards ijr at po.cwru.edu
Fri Nov 12 20:03:24 UTC 2004


On Friday 12 November 2004 12:52 pm, Jeremiah Morris wrote:
> On 12 Nov 2004, at 11:39 AM, Isaac Richards wrote:
> >> Mythvideo isn't unlocking Qt before it exits.  The attached patch
> >> calls
> >> qApp->unlock() at the end of mythvideo's mythplugin_run(), which
> >> allows
> >> it to exit without error messages.
> >
> > Where's it locking it, though?  I don't see why this is necessary..
>
> In runMenu(), the plugin does:
>
> ...
> qApp->unlock();
> diag->exec();
> qApp->lock();
> ...
>
> I don't think the application is locked coming into this code.

It is locked coming in, which is why your patches don't make any sense. =)

Isaac


More information about the mythtv-dev mailing list