Ticket #13228: 20180227_1946_android_segfault.patch

File 20180227_1946_android_segfault.patch, 594 bytes (added by Peter Bennett, 8 years ago)

Updated fix for seg fault

  • mythtv/programs/mythfrontend/main.cpp

    diff --git a/mythtv/programs/mythfrontend/main.cpp b/mythtv/programs/mythfrontend/main.cpp
    index da49fa9..29c17d5 100644
    a b namespace  
    263263
    264264    void cleanup()
    265265    {
     266        qApp->processEvents();
     267        DestroyMythMainWindow();
    266268#ifdef USING_AIRPLAY
    267269        MythRAOPDevice::Cleanup();
    268270        MythAirplayServer::Cleanup();
    namespace  
    287289            pmanager = NULL;
    288290        }
    289291
    290         DestroyMythMainWindow();
    291 
    292292        delete gContext;
    293293        gContext = NULL;
    294294