Ticket #2578: mythtv.2758.patch

File mythtv.2758.patch, 565 bytes (added by david@…, 20 years ago)

Patch to fix the segfault

  • mythmusic/databasebox.cpp

    diff -ur mythmusic.orig/mythmusic/databasebox.cpp mythmusic/mythmusic/databasebox.cpp
    old new  
    143143        delete cd_reader_thread;
    144144    }
    145145
     146    // Make sure the loading threads are done before trying to clean up
     147    while (!all_music->doneLoading() || !the_playlists->doneLoading())
     148        sleep(1);
     149
    146150    all_music->resetListings();
    147151   
    148152    the_playlists->getActive()->removeAllWidgets();