IpodCollection: finally safe solution for crash on early eject
We now (asynchronously) wait for the job that parses iPod tracks and playlists before destroying IpodCollection. Other change is that we factor playlists parsing into IpodParseTracksJob, it really belongs there. (previously it was just called from that thread and it made false impression that the method is only called from the main thread) BUG: 301166 FIXED-IN: 2.6
Showing
- ChangeLog 3 additions, 0 deletionsChangeLog
- src/core-impl/collections/ipodcollection/IpodCollection.cpp 23 additions, 10 deletionssrc/core-impl/collections/ipodcollection/IpodCollection.cpp
- src/core-impl/collections/ipodcollection/IpodCollection.h 8 additions, 0 deletionssrc/core-impl/collections/ipodcollection/IpodCollection.h
- src/core-impl/collections/ipodcollection/IpodPlaylist.cpp 1 addition, 3 deletionssrc/core-impl/collections/ipodcollection/IpodPlaylist.cpp
- src/core-impl/collections/ipodcollection/IpodPlaylistProvider.cpp 0 additions, 79 deletions...-impl/collections/ipodcollection/IpodPlaylistProvider.cpp
- src/core-impl/collections/ipodcollection/IpodPlaylistProvider.h 1 addition, 13 deletions...re-impl/collections/ipodcollection/IpodPlaylistProvider.h
- src/core-impl/collections/ipodcollection/jobs/IpodParseTracksJob.cpp 91 additions, 12 deletions...pl/collections/ipodcollection/jobs/IpodParseTracksJob.cpp
- src/core-impl/collections/ipodcollection/jobs/IpodParseTracksJob.h 26 additions, 5 deletions...impl/collections/ipodcollection/jobs/IpodParseTracksJob.h
Loading
Please register or sign in to comment